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: known duplicate code


> Those two would be very good to have. I'd suggest swapping the order of
> the template parameters of enable_if so that the bool is first as in IF,
> cond_type, whatever you want to call it.

It would be nice to have conditional_type also able to work on
std::tr1::true_type and std::tr1::false_type.

Then we could typedef these (somewhat) ungainly types.

-benjamin


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