This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [Patch] Patch set for regex instantiation
- From: Tim Shen <timshen91 at gmail dot com>
- To: Jonathan Wakely <jwakely at redhat dot com>
- Cc: "libstdc++" <libstdc++ at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Sun, 29 Jun 2014 11:47:06 -0700
- Subject: Re: [Patch] Patch set for regex instantiation
- Authentication-results: sourceware.org; auth=none
- References: <CAPrifDmCWD2-AOQnjf51qgvDbnFH=Mpft4nUg0oFbbtHcsMNvw at mail dot gmail dot com> <20140629171801 dot GR2711 at redhat dot 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?
--
Regards,
Tim Shen