This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch] Small refactor on <regex> _State<>


On Wed, Jul 29, 2015 at 9:21 PM, Tim Shen <timshen@google.com> wrote:
> On Wed, Jul 29, 2015 at 2:15 AM, Jonathan Wakely <jwakely@redhat.com> wrote:
>> Yes, that makes sense. See the code in <ext/aligned_buffer.h> for how
>> to set the alignment of the buffer appropriately. You can use the size
>> and alignment of std::function<bool(char)> even though it will
>> sometimes be a different std::function specialization.
>
> Done.

Oops, fixed one typo: s/_Matcher<bool>/_Matcher<char>/.


-- 
Regards,
Tim Shen

Attachment: d.diff
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]