aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/include/bits/regex.h
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2014-11-04 02:49:30 +0000
committerJonathan Wakely <redi@gcc.gnu.org>2014-11-04 02:49:30 +0000
commitac6f071ad92bdfc57674d1d7ac2a5c3c831c4603 (patch)
treeb36c8c58f387a360eeb06e28a8aff068a9c2c5a9 /libstdc++-v3/include/bits/regex.h
parent9bcb72e0b001525a25370716da57a1d48a8922f4 (diff)
downloadgcc-ac6f071ad92bdfc57674d1d7ac2a5c3c831c4603.zip
gcc-ac6f071ad92bdfc57674d1d7ac2a5c3c831c4603.tar.gz
gcc-ac6f071ad92bdfc57674d1d7ac2a5c3c831c4603.tar.bz2
Use ctype_base::blank in regex_traits.
* include/bits/regex.h (regex_traits::_RegexMask): Remove _S_blank and adjust _S_valid_mask. * include/bits/regex.tcc (regex_traits::lookup_classname): Use ctype_base::blank. From-SVN: r217066
Diffstat (limited to 'libstdc++-v3/include/bits/regex.h')
-rw-r--r--libstdc++-v3/include/bits/regex.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/libstdc++-v3/include/bits/regex.h b/libstdc++-v3/include/bits/regex.h
index 4244f2e..30189e3 100644
--- a/libstdc++-v3/include/bits/regex.h
+++ b/libstdc++-v3/include/bits/regex.h
@@ -97,14 +97,11 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
private:
struct _RegexMask
{
- typedef typename std::ctype<char_type>::mask _BaseType;
+ typedef std::ctype_base::mask _BaseType;
_BaseType _M_base;
unsigned char _M_extended;
static constexpr unsigned char _S_under = 1 << 0;
- // FIXME: _S_blank should be removed in the future,
- // when locale's complete.
- static constexpr unsigned char _S_blank = 1 << 1;
- static constexpr unsigned char _S_valid_mask = 0x3;
+ static constexpr unsigned char _S_valid_mask = 0x1;
constexpr _RegexMask(_BaseType __base = 0,
unsigned char __extended = 0)