On 14 April 2012 21:14, Pedro Lamarão wrote: > On 04/14/2012 05:07 PM, Jonathan Wakely wrote: >> >> On 14 April 2012 20:55, Pedro Lamarão wrote: >>> >>> Since enable_if is not part of C++98, it would be added to GCC itself -- >>> perhaps in namespace gcc. >> >> >> libstdc++ provides __gnu_cxx::__enable_if in<ext/type_traits.h:> >> > > When vec.h is compiled in stage1 by the host compiler, can we include the > file you mention?
I don't know, my point is just that GCC already contains an enable_if that works in C++03 mode, in addition to std::enable_if, so reusing it somehow would make more sense than adding a third implementation.