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: [Patch] [libstdc++] [constexpr] use macros in place of 'constexpr' to allow for disabling constexpr until fully supported by compiler


Hi,
> It is a moot point but I think in the case of constexpr vs static const
> this should be okay as differences could safely be translation unit
> specific.  It should work as if one unit was built in C++03 mode and one
> in C++0x which is supported by libstdc++ I think --
>   
It is not, really. It may work in some special cases but in general we
don't provide any such guarantee. Beware ;)

Paolo.


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