[Patch] [libstdc++] [constexpr] [no-longer-useful] use macros in place of 'constexpr' to allow for disabling constexpr until fully supported by compiler

Adam Butcher dev.lists@jessamine.co.uk
Thu Mar 3 09:15:00 GMT 2011


On Thu, February 17, 2011 10:31 pm, Adam Butcher wrote:
> the consensus of this thread, which I agree with,
> seems to be that a library-based 'workaround' is ugly.  It would be
> preferable to fix the compiler;

On Fri, February 18, 2011 12:56 am, Gabriel Dos Reis wrote:
> I certainly agree that we should resist the __GBLICXX_CONSTEXPR macro.
> The current semantics implemented by the compiler is not going to meet
> anybody's expectation by the time GCC is released.  I don't see the
> point of introducing the macro.
>
Jason has fixed the compiler issues that motivated this workaround so
there is no need for it as of GCC trunk rev 170638.  Great!

Adam




More information about the Libstdc++ mailing list