Re: Add std::unordered_* C++11 allocator support

2013-05-14 Thread Jonathan Wakely
On 14 May 2013 20:40, François Dumont wrote: > Indeed, here is the patch to fix it. Also fix rendering of std::tr1 > unordered containers. Excellent, thanks, this is OK to commit.

Re: Add std::unordered_* C++11 allocator support

2013-05-14 Thread François Dumont
Indeed, here is the patch to fix it. Also fix rendering of std::tr1 unordered containers. 2013-05-15 François Dumont * python/libstdcxx/v6/printers.py (Tr1HashtableIterator): Fix rendering of std::tr1 unordered containers iterator. (StdHashtableIterator): New, render std unordered

Re: Add std::unordered_* C++11 allocator support

2013-05-10 Thread Paolo Carlini
.. looks like the prettyprinting code needs again adjustments: FAIL: libstdc++-prettyprinters/cxx11.cc print uom FAIL: libstdc++-prettyprinters/cxx11.cc print uomm FAIL: libstdc++-prettyprinters/cxx11.cc print uos FAIL: libstdc++-prettyprinters/cxx11.cc print uoms Thanks, Paolo.

Re: Profile mode (was Re: Add std::unordered_* C++11 allocator support)

2013-04-27 Thread Gedare Bloom
Hi, I have made some fixes and improvements in profile mode and recently posted to my github (user gedare, repo stlprof) for another to try out. I will try to send the shippable patches upstream soon. The profile mode is interesting and useful to me as part of work done for my ph.d. thesis, and I

Re: Profile mode (was Re: Add std::unordered_* C++11 allocator support)

2013-04-25 Thread François Dumont
On 04/25/2013 11:36 AM, Paolo Carlini wrote: On 04/25/2013 11:16 AM, Jonathan Wakely wrote: On 25 April 2013 09:52, Paolo Carlini wrote: Hi, could you please take care of the profile-mode bits too? Let's try to keep the 3 modes in sync, I noticed only by chance. Does **anyone** use profile

Re: Profile mode (was Re: Add std::unordered_* C++11 allocator support)

2013-04-25 Thread Paolo Carlini
On 04/25/2013 11:16 AM, Jonathan Wakely wrote: On 25 April 2013 09:52, Paolo Carlini wrote: Hi, On 04/21/2013 10:08 PM, François Dumont wrote: Hi Here is another proposal with: - No attempt to remove const key - No attempt to use assignment operator - noexcept move constructor; I slight

Profile mode (was Re: Add std::unordered_* C++11 allocator support)

2013-04-25 Thread Jonathan Wakely
On 25 April 2013 09:52, Paolo Carlini wrote: > Hi, > > > On 04/21/2013 10:08 PM, François Dumont wrote: >> >> Hi >> >> Here is another proposal with: >> - No attempt to remove const key >> - No attempt to use assignment operator >> - noexcept move constructor; I slightly modify a static asserti

Re: Add std::unordered_* C++11 allocator support

2013-04-25 Thread Paolo Carlini
Hi, On 04/21/2013 10:08 PM, François Dumont wrote: Hi Here is another proposal with: - No attempt to remove const key - No attempt to use assignment operator - noexcept move constructor; I slightly modify a static assertion so that it checks that _M_bucket_index is noexcept qualified which

Re: Add std::unordered_* C++11 allocator support

2013-04-22 Thread Jason Merrill
I had to apply this patch to get the library to build after your change: commit 0f1151f651987ba6772959c49c5afc6898dd9e83 Author: Jason Merrill Date: Mon Apr 22 21:20:03 2013 -0400 * src/c++11/hashtable_c++0x.cc: Include ext/aligned_buffer.h. diff --git a/libstdc++-v3/src/c++11/hashtable_

Re: Add std::unordered_* C++11 allocator support

2013-04-22 Thread François Dumont
On 04/21/2013 10:36 PM, Jonathan Wakely wrote: On 21 April 2013 21:08, François Dumont wrote: Hi Here is another proposal with: - No attempt to remove const key - No attempt to use assignment operator - noexcept move constructor; I slightly modify a static assertion so that it checks that

Re: Add std::unordered_* C++11 allocator support

2013-04-21 Thread Jonathan Wakely
On 21 April 2013 21:08, François Dumont wrote: > Hi > > Here is another proposal with: > - No attempt to remove const key > - No attempt to use assignment operator > - noexcept move constructor; I slightly modify a static assertion so that it > checks that _M_bucket_index is noexcept qualified