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] regex construction from basic_string


Jonathan Wakely wrote:
> This fixes basic_regex construction from a basic_string with
> non-default char_traits and/or allocator.
>
>         * include/tr1_impl/regex (basic_regex::basic_regex): Use range
>         constructor for _M_pattern.
>         * testsuite/tr1/7_regular_expressions/basic_regex/ctors/char/
>         string.cc: Test construction from different basic_string type.
>         * testsuite/tr1/7_regular_expressions/basic_regex/ctors/wchar_t/
>         string.cc: Likewise.
>
> tested x86_64 linux, OK to commit?
>   
OK, many thanks!
Paolo.


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