This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
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.