[PATCH] c++0x variadic min, max and minmax.
Paolo Carlini
paolo.carlini@oracle.com
Fri Jul 11 14:16:00 GMT 2008
Hi Chris,
and sorry for some delays...
> If it does stay, I assume I also have to add the fwd decl's
> to stl_algofwd? And by doing so, the enable_if's need the variadic
> versions of is_same. Could we make a variadic __is_same extension
> in ext/type_traits.h perhaps so that its available to both algofwd
> and algobase?
Good question. Now, as regards the variadic is_same, I think we should ponder this thread:
http://tinyurl.com/567ner
In other terms, assuming that the variadic versions of those algos will stay, I suspect the implementation will be much easier with Concepts available... What do you think?
Paolo.
More information about the Libstdc++
mailing list