This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [Patch, libstdc++/64680] Conform the standard regex interface
- From: Paolo Carlini <paolo dot carlini at oracle dot com>
- To: Tim Shen <timshen at google dot com>, libstdc++ <libstdc++ at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 20 Jan 2015 18:04:20 +0100
- Subject: Re: [Patch, libstdc++/64680] Conform the standard regex interface
- Authentication-results: sourceware.org; auth=none
- References: <CAG4ZjNkJJD1S8Dz4y9_7DCo9qq=5Kg1ZPXUaJCdcJnCK-i5+tg at mail dot gmail dot com>
Hi,
On 01/20/2015 05:57 PM, Tim Shen wrote:
+void test02()
+{
+ bool test __attribute__((unused)) = true;
+
+ std::regex re("[[:alnum:]]", std::regex_constants::basic);
+ re = "\\w+";
+}
When we end up doing this to save run time, let's at least add in a
comment the PR #, like
// PR libstdc++/64680
before test02().
Paolo.