This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [v3] C++0x type_traits post-oxford additions



make_signed/make_unsigned require:
Requires: T is a cv integral type or enumeration, but not a bool type.

I.e. they are not supposed to work with floating point types.

Ack! Sorry, I thinking all arithmetictypes were valid. Maybe I messed up and was looking at the wrong draft of this, again.


I'll go ahead and simplify.

Thanks!

-benjamin


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]