This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: known duplicate code
> I'm interested in keeping a list of "can't live without" traits-like
> material such as this. I also put both the enable_if and IF traits
> in this category, though I've spelled them differently in the past.
Yes. Currently we have:
conditional_type
_Select
IF
I've seen:
cond_type
before.
Also, I am strongly in favor of compile-time constants for
numeric_limits::max type stuff.
> It could be that such an organized list might evolve into a proposed
> addition to the C++0X <type_traits> header. If it were to succeed,
> it would have to be a very short list. I.e. this can't turn into a
> dumping ground for everyone's favorite trait. This is a top 5 list.
Yeah. This is what I was thinking too.
Is it worth separating this out into
type_traits
and
type_utils
?
-benjamin