This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++ PAtch] More C++11 and C++14 constexpr work
- From: Paolo Carlini <paolo dot carlini at oracle dot com>
- To: Jason Merrill <jason at redhat dot com>, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 09 Oct 2014 15:56:46 +0200
- Subject: Re: [C++ PAtch] More C++11 and C++14 constexpr work
- Authentication-results: sourceware.org; auth=none
- References: <543594DA dot 1000304 at oracle dot com> <54368E33 dot 40002 at redhat dot com> <5436925D dot 1080105 at oracle dot com>
.. a simple example in C++11 would be:
struct S
{
constexpr S() { { struct T { }; } }
};
Paolo.