[cmake-developers] [PATCH] Macro generation for relaxed constexpr
Stephen Kelly
steveire at gmail.com
Wed Jul 8 15:49:59 EDT 2015
Stephen Kelly wrote:
> * A method marked constexpr will fail to compile with a compiler which
> does not support relaxed constexpr if the method uses language which
> requires relaxed mode (such as a for loop), even if the method is
> evaluated in a non- constant expression. I tested GCC and Clang.
Are there any values of '...' where
constexpr foo = ...;
would compile or not depending only on whether using cxx11-constexpr or
cxx14-constexpr?
Thanks,
Steve.
More information about the cmake-developers
mailing list