[v3] traits duplicate removal

Paolo Carlini pcarlini@suse.de
Thu Sep 21 09:50:00 GMT 2006


Paolo Carlini wrote:

>> Maybe just do
>>
>> namespace __numeric_traits
>> {
>>     // stuff
>> }
>>
>> or just kill class __numeric_traits entirely and put them into 
>> __gnu_cxx as constants? 
>
> You choose, really... Thanks, anyway.

Well, we could even have two specializations of the class, selected via 
__enable_if itself for integer and float types...

Paolo.



More information about the Libstdc++ mailing list