This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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: [cxx-conversion] is enable_if ok?


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?


Or perhaps the suggestion is to optimize with enable_if only after stage1?

--
 P.


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