[PATCH] regex construction from basic_string
Paolo Carlini
paolo.carlini@oracle.com
Sun Jan 11 16:44:00 GMT 2009
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.
More information about the Libstdc++
mailing list