Patch for LWG issue #2145
mclow.lists at gmail.com
Thu Aug 22 16:13:39 PDT 2013
On Aug 21, 2013, at 3:53 PM, David Blaikie <dblaikie at gmail.com> wrote:
> But in constructing this test case I stumbled across an even easier
> way to test, at least with Clang (I'm not sure this is required to
> fail to compile, though) as a compile-only test.
> Declare derived's ctor constexpr - Clang will produce a compilation
> error ("error: constexpr constructor never produces a constant
> expression") if the base ctor is not constexpr. This would test the
> change that Marshall made.
Thanks for the suggestion!
Marshall Clow Idio Software <mailto:mclow.lists at gmail.com>
A.D. 1517: Martin Luther nails his 95 Theses to the church door and is promptly moderated down to (-1, Flamebait).
-- Yu Suzuki
More information about the cfe-commits