This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: C++0x constexpr patch #3: implicit constexpr
- From: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- To: Jason Merrill <jason at redhat dot com>
- Cc: gcc-patches List <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 27 Oct 2010 15:33:56 -0500
- Subject: Re: C++0x constexpr patch #3: implicit constexpr
- References: <4CC88731.5090301@redhat.com>
On Wed, Oct 27, 2010 at 3:10 PM, Jason Merrill <jason@redhat.com> wrote:
> This patch adds support for constexpr on implicitly-declared constructors; a
> trivial copy constructor is constexpr, as is a synthesized default
> constructor for a class where all the members and bases have constexpr
> default constructors.
>
> Tested x86_64-pc-linux-gnu, applied to trunk.
>
Kudos to Jason and Benjamin for pushing the constexpr implementation through.
-- Gaby