[Patch] Patch set for regex instantiation

Daniel Krügler daniel.kruegler@gmail.com
Sun Jun 29 20:33:00 GMT 2014


2014-06-29 20:47 GMT+02:00 Tim Shen <timshen91@gmail.com>:
> On Sun, Jun 29, 2014 at 10:18 AM, Jonathan Wakely <jwakely@redhat.com> wrote:
>> Alternatively, we could just make them local statics instead of member
>> data and still remove the duplciation (see attached).
>
> This is a good idea. Can we use constexpr for the functions/static variables?

Not so for local statics within constexpr functions, but you could
have constexpr static data members, yes.

- Daniel



More information about the Gcc-patches mailing list