New const char* ctor for C++-0x

Ed Smith-Rowland 3dw4rd@verizon.net
Tue Dec 22 16:07:00 GMT 2009


Here is a patch for just the const char* constructor for bitset.  This 
is bootstrapped and regtested on x86_64.

I'm not sure why I noticed this (maybe thinking about dynamic_bitset for 
TR2).

I think I'll try to look for two classes of additions to the std library 
(especially the old part):
1. long long either in place of or in addition to long
2. char* overloads where there was already a string version and vice versa.
Has anyone else done this (including the std::people)?   Is there a 
grand unified diff somewhere?

Also, bitset has a unsigned long -> unsigned long long ctor replacemens
and a new to_ullong() new accessor pending.

OK?

Ed

-------------- next part --------------
A non-text attachment was scrubbed...
Name: CL_bitset_0x
Type: video/x-flv
Size: 173 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20091222/534ea9c6/attachment.flv>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: bitset_0x.patch
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20091222/534ea9c6/attachment.ksh>


More information about the Libstdc++ mailing list