This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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] ext/type_traits.h


Peter Dimov wrote:
Martin Sebor wrote:

The standalone add_unsigned critters would be okay too. They
would be in line with all the other little traits classes. I
don't see a big advantage of one approach over the other.


The standalone to_unsigned can be used as a metafunction.

Ah, neat. I hadn't thought of that. And the limits one couldn't because...? It doesn't have the right name?

Martin



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