2010-06-25 21:27:16 +02:00
|
|
|
// class template regex -*- C++ -*-
|
|
|
|
|
2013-02-03 18:54:05 +01:00
|
|
|
// Copyright (C) 2010-2013 Free Software Foundation, Inc.
|
2010-06-25 21:27:16 +02:00
|
|
|
//
|
|
|
|
// This file is part of the GNU ISO C++ Library. This library is free
|
|
|
|
// software; you can redistribute it and/or modify it under the
|
|
|
|
// terms of the GNU General Public License as published by the
|
|
|
|
// Free Software Foundation; either version 3, or (at your option)
|
|
|
|
// any later version.
|
|
|
|
|
|
|
|
// This library is distributed in the hope that it will be useful,
|
|
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
// GNU General Public License for more details.
|
|
|
|
|
|
|
|
// Under Section 7 of GPL version 3, you are granted additional
|
|
|
|
// permissions described in the GCC Runtime Library Exception, version
|
|
|
|
// 3.1, as published by the Free Software Foundation.
|
|
|
|
|
|
|
|
// You should have received a copy of the GNU General Public License and
|
|
|
|
// a copy of the GCC Runtime Library Exception along with this program;
|
|
|
|
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
|
|
|
|
// <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
/**
|
2010-12-19 10:21:16 +01:00
|
|
|
* @file bits/regex_compiler.h
|
|
|
|
* This is an internal header file, included by other library headers.
|
|
|
|
* Do not attempt to use it directly. @headername{regex}
|
2010-06-25 21:27:16 +02:00
|
|
|
*/
|
|
|
|
|
PR libstdc++/36104 part four
2011-01-30 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/36104 part four
* include/bits/c++config (_GLIBCXX_STD): Remove.
(_GLIBCXX_STD_D, _GLIBCXX_PR): Now _GLIBCXX_STD_C.
(_GLIBCXX_P): Now _GLIBCXX_STD_A.
(_GLIBCXX_NAMESPACE_DEBUG, _GLIBCXX_NAMESPACE_PARALLEL,
_GLIBCXX_NAMESPACE_PROFILE, _GLIBCXX_NAMESPACE_VERSION): Remove.
(_GLIBCXX_INLINE_DEBUG, _GLIBCXX_INLINE_PARALLEL,
_GLIBCXX_INLINE_PROFILE): Remove.
(_GLIBCXX_BEGIN_NAMESPACE(X)): Remove.
(_GLIBCXX_END_NAMESPACE): Remove.
(_GLIBCXX_BEGIN_NESTED_NAMESPACE(X, Y)): Remove.
(_GLIBCXX_END_NESTED_NAMESPACE): Remove.
(_GLIBCXX_BEGIN_NAMESPACE_ALGO): Add.
(_GLIBCXX_END_NAMESPACE_ALGO): Add.
(_GLIBCXX_BEGIN_NAMESPACE_CONTAINER): Add.
(_GLIBCXX_END_NAMESPACE_CONTAINER): Add.
(_GLIBCXX_BEGIN_NAMESPACE_VERSION): Add.
(_GLIBCXX_END_NAMESPACE_VERSION): Add.
(_GLIBCXX_BEGIN_LDBL_NAMESPACE): To _GLIBCXX_BEGIN_NAMESPACE_LDBL.
(_GLIBCXX_END_LDBL_NAMESPACE): To _GLIBCXX_END_NAMESPACE_LDBL.
(_GLIBCXX_VISIBILITY_ATTR): Revert to _GLIBCXX_VISIBILITY.
* include/*: Use new macros for namespace scope.
* config/*: Same.
* src/*: Same.
* src/Makefile.am (sources): Remove debug_list.cc, add
compatibility-debug_list-2.cc.
(parallel_sources): Remove parallel_list.cc, add
compatibility-parallel_list-2.cc.
(compatibility-parallel_list-2.[o,lo]): New rule.
* src/Makefile.in: Regenerate.
* src/debug_list.cc: Remove.
* src/parallel_list.cc: Remove.
* src/compatibility-list-2.cc: New.
* src/compatibility-debug_list-2.cc: New.
* src/compatibility-parallel_list-2.cc: New.
* doc/doxygen/user.cfg.in: Adjust macros.
* testsuite/20_util/auto_ptr/assign_neg.cc: Adjust line numbers, macros.
* testsuite/20_util/declval/requirements/1_neg.cc: Same.
* testsuite/20_util/duration/requirements/typedefs_neg1.cc: Same.
* testsuite/20_util/duration/requirements/typedefs_neg2.cc: Same.
* testsuite/20_util/duration/requirements/typedefs_neg3.cc: Same.
* testsuite/20_util/forward/c_neg.cc: Same.
* testsuite/20_util/forward/f_neg.cc: Same.
* testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Same.
* testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Same.
* testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Same.
* testsuite/20_util/ratio/operations/ops_overflow_neg.cc: Same.
* testsuite/20_util/shared_ptr/cons/43820_neg.cc: Same.
* testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Same.
* testsuite/23_containers/deque/requirements/dr438/assign_neg.cc: Same.
* testsuite/23_containers/deque/requirements/dr438/
constructor_1_neg.cc: Same.
* testsuite/23_containers/deque/requirements/dr438/
constructor_2_neg.cc: Same.
* testsuite/23_containers/deque/requirements/dr438/insert_neg.cc: Same.
* testsuite/23_containers/forward_list/capacity/1.cc: Same.
* testsuite/23_containers/forward_list/requirements/dr438/
assign_neg.cc: Same.
* testsuite/23_containers/forward_list/requirements/dr438/
constructor_1_neg.cc: Same.
* testsuite/23_containers/forward_list/requirements/dr438/
constructor_2_neg.cc: Same.
* testsuite/23_containers/forward_list/requirements/dr438/
insert_neg.cc: Same.
* testsuite/23_containers/list/capacity/29134.cc: Same.
* testsuite/23_containers/list/requirements/dr438/assign_neg.cc: Same.
* testsuite/23_containers/list/requirements/dr438/
constructor_1_neg.cc: Same.
* testsuite/23_containers/list/requirements/dr438/
constructor_2_neg.cc: Same.
* testsuite/23_containers/list/requirements/dr438/insert_neg.cc: Same.
* testsuite/23_containers/vector/bool/capacity/29134.cc: Same.
* testsuite/23_containers/vector/bool/modifiers/insert/31370.cc: Same.
* testsuite/23_containers/vector/requirements/dr438/assign_neg.cc: Same.
* testsuite/23_containers/vector/requirements/dr438/
constructor_1_neg.cc: Same.
* testsuite/23_containers/vector/requirements/dr438/
constructor_2_neg.cc: Same.
* testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: Same.
* testsuite/25_algorithms/sort/35588.cc: Same.
* testsuite/27_io/ios_base/cons/assign_neg.cc: Same.
* testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
* testsuite/ext/profile/mutex_extensions_neg.cc: Same.
* testsuite/ext/profile/profiler_algos.cc: Same.
* testsuite/ext/type_traits/add_unsigned_floating_neg.cc: Same.
* testsuite/ext/type_traits/add_unsigned_integer_neg.cc: Same.
* testsuite/ext/type_traits/remove_unsigned_floating_neg.cc: Same.
* testsuite/ext/type_traits/remove_unsigned_integer_neg.cc: Same.
* testsuite/tr1/2_general_utilities/shared_ptr/cons/43820_neg.cc: Same.
From-SVN: r169421
2011-01-30 23:39:36 +01:00
|
|
|
namespace std _GLIBCXX_VISIBILITY(default)
|
|
|
|
{
|
2012-06-28 09:50:34 +02:00
|
|
|
namespace __detail
|
2010-06-25 21:27:16 +02:00
|
|
|
{
|
2011-03-15 01:24:08 +01:00
|
|
|
_GLIBCXX_BEGIN_NAMESPACE_VERSION
|
|
|
|
|
2012-06-28 09:50:34 +02:00
|
|
|
/**
|
|
|
|
* @addtogroup regex-detail
|
|
|
|
* @{
|
|
|
|
*/
|
|
|
|
|
2013-08-07 18:27:36 +02:00
|
|
|
template<typename _CharT, typename _TraitsT>
|
2013-08-27 04:49:22 +02:00
|
|
|
struct _BracketMatcher;
|
2010-06-25 21:27:16 +02:00
|
|
|
|
2012-06-28 09:50:34 +02:00
|
|
|
/// Builds an NFA from an input iterator interval.
|
2013-08-27 04:49:22 +02:00
|
|
|
template<typename _FwdIter, typename _CharT, typename _TraitsT>
|
2010-06-25 21:27:16 +02:00
|
|
|
class _Compiler
|
|
|
|
{
|
|
|
|
public:
|
2013-08-07 18:27:36 +02:00
|
|
|
typedef typename _TraitsT::string_type _StringT;
|
|
|
|
typedef _NFA<_CharT, _TraitsT> _RegexT;
|
|
|
|
typedef regex_constants::syntax_option_type _FlagT;
|
2010-06-25 21:27:16 +02:00
|
|
|
|
2013-08-27 04:49:22 +02:00
|
|
|
_Compiler(_FwdIter __b, _FwdIter __e,
|
2013-08-22 11:01:38 +02:00
|
|
|
const _TraitsT& __traits, _FlagT __flags);
|
2010-06-25 21:27:16 +02:00
|
|
|
|
2013-08-07 18:27:36 +02:00
|
|
|
std::shared_ptr<_RegexT>
|
|
|
|
_M_get_nfa() const
|
2013-09-14 16:23:44 +02:00
|
|
|
{ return make_shared<_RegexT>(_M_nfa); }
|
2010-06-25 21:27:16 +02:00
|
|
|
|
|
|
|
private:
|
2013-08-27 04:49:22 +02:00
|
|
|
typedef _Scanner<_FwdIter> _ScannerT;
|
2013-08-07 18:27:36 +02:00
|
|
|
typedef typename _ScannerT::_TokenT _TokenT;
|
|
|
|
typedef _StateSeq<_CharT, _TraitsT> _StateSeqT;
|
|
|
|
typedef std::stack<_StateSeqT, std::vector<_StateSeqT>> _StackT;
|
|
|
|
typedef _BracketMatcher<_CharT, _TraitsT> _BMatcherT;
|
2013-09-05 17:20:39 +02:00
|
|
|
typedef std::ctype<_CharT> _CtypeT;
|
2010-06-25 21:27:16 +02:00
|
|
|
|
|
|
|
// accepts a specific token or returns false.
|
|
|
|
bool
|
2010-06-27 11:29:25 +02:00
|
|
|
_M_match_token(_TokenT __token);
|
2010-06-25 21:27:16 +02:00
|
|
|
|
|
|
|
void
|
|
|
|
_M_disjunction();
|
|
|
|
|
2013-08-03 16:32:54 +02:00
|
|
|
void
|
2010-06-25 21:27:16 +02:00
|
|
|
_M_alternative();
|
|
|
|
|
|
|
|
bool
|
|
|
|
_M_term();
|
|
|
|
|
|
|
|
bool
|
|
|
|
_M_assertion();
|
|
|
|
|
2013-08-03 16:32:54 +02:00
|
|
|
void
|
2010-06-25 21:27:16 +02:00
|
|
|
_M_quantifier();
|
|
|
|
|
|
|
|
bool
|
|
|
|
_M_atom();
|
|
|
|
|
|
|
|
bool
|
|
|
|
_M_bracket_expression();
|
|
|
|
|
2013-08-03 16:32:54 +02:00
|
|
|
void
|
|
|
|
_M_expression_term(_BMatcherT& __matcher);
|
2010-06-25 21:27:16 +02:00
|
|
|
|
|
|
|
bool
|
2013-08-03 16:32:54 +02:00
|
|
|
_M_range_expression(_BMatcherT& __matcher);
|
2010-06-25 21:27:16 +02:00
|
|
|
|
|
|
|
bool
|
2013-08-03 16:32:54 +02:00
|
|
|
_M_collating_symbol(_BMatcherT& __matcher);
|
2010-06-25 21:27:16 +02:00
|
|
|
|
|
|
|
bool
|
2013-08-03 16:32:54 +02:00
|
|
|
_M_equivalence_class(_BMatcherT& __matcher);
|
2010-06-25 21:27:16 +02:00
|
|
|
|
|
|
|
bool
|
2013-08-03 16:32:54 +02:00
|
|
|
_M_character_class(_BMatcherT& __matcher);
|
2010-06-25 21:27:16 +02:00
|
|
|
|
|
|
|
int
|
|
|
|
_M_cur_int_value(int __radix);
|
|
|
|
|
2013-08-27 04:49:22 +02:00
|
|
|
bool
|
|
|
|
_M_try_char();
|
|
|
|
|
2013-09-05 17:20:39 +02:00
|
|
|
_StateSeqT
|
|
|
|
_M_pop()
|
|
|
|
{
|
|
|
|
auto ret = _M_stack.top();
|
|
|
|
_M_stack.pop();
|
|
|
|
return ret;
|
|
|
|
}
|
2013-08-27 04:49:22 +02:00
|
|
|
|
2013-08-07 18:27:36 +02:00
|
|
|
const _TraitsT& _M_traits;
|
2013-09-05 17:20:39 +02:00
|
|
|
const _CtypeT& _M_ctype;
|
2013-08-07 18:27:36 +02:00
|
|
|
_ScannerT _M_scanner;
|
2013-09-05 17:20:39 +02:00
|
|
|
_RegexT _M_nfa;
|
2013-09-03 00:20:56 +02:00
|
|
|
_StringT _M_value;
|
2013-08-07 18:27:36 +02:00
|
|
|
_StackT _M_stack;
|
|
|
|
_FlagT _M_flags;
|
2010-06-25 21:27:16 +02:00
|
|
|
};
|
|
|
|
|
2013-09-03 00:20:56 +02:00
|
|
|
template<typename _CharT, typename _TraitsT>
|
|
|
|
struct _AnyMatcher
|
|
|
|
{
|
|
|
|
explicit
|
|
|
|
_AnyMatcher(const _TraitsT& __traits)
|
|
|
|
: _M_traits(__traits)
|
|
|
|
{ }
|
|
|
|
|
|
|
|
bool
|
|
|
|
operator()(_CharT __ch) const
|
|
|
|
{
|
|
|
|
return _M_traits.translate(__ch) != '\n'
|
|
|
|
&& _M_traits.translate(__ch) != '\r'
|
|
|
|
&& _M_traits.translate(__ch) != u'\u2028'
|
|
|
|
&& _M_traits.translate(__ch) != u'\u2029';
|
|
|
|
}
|
|
|
|
|
|
|
|
const _TraitsT& _M_traits;
|
|
|
|
};
|
|
|
|
|
|
|
|
template<typename _CharT, typename _TraitsT>
|
|
|
|
struct _CharMatcher
|
|
|
|
{
|
|
|
|
typedef regex_constants::syntax_option_type _FlagT;
|
|
|
|
|
|
|
|
explicit
|
|
|
|
_CharMatcher(_CharT __ch, const _TraitsT& __traits, _FlagT __flags)
|
|
|
|
: _M_ch(_M_translate(__ch)), _M_traits(__traits), _M_flags(__flags)
|
|
|
|
{ }
|
|
|
|
|
|
|
|
bool
|
|
|
|
operator()(_CharT __ch) const
|
|
|
|
{ return _M_ch == _M_translate(__ch); }
|
|
|
|
|
|
|
|
_CharT
|
|
|
|
_M_translate(_CharT __ch) const
|
|
|
|
{
|
|
|
|
if (_M_flags & regex_constants::icase)
|
|
|
|
return _M_traits.translate_nocase(__ch);
|
|
|
|
else
|
|
|
|
return _M_traits.translate(__ch);
|
|
|
|
}
|
|
|
|
|
|
|
|
const _TraitsT& _M_traits;
|
|
|
|
_FlagT _M_flags;
|
|
|
|
_CharT _M_ch;
|
|
|
|
};
|
|
|
|
|
2013-08-27 04:49:22 +02:00
|
|
|
/// Matches a character range (bracket expression)
|
|
|
|
template<typename _CharT, typename _TraitsT>
|
|
|
|
struct _BracketMatcher
|
|
|
|
{
|
|
|
|
typedef typename _TraitsT::char_class_type _CharClassT;
|
|
|
|
typedef typename _TraitsT::string_type _StringT;
|
|
|
|
typedef regex_constants::syntax_option_type _FlagT;
|
|
|
|
|
|
|
|
explicit
|
|
|
|
_BracketMatcher(bool __is_non_matching,
|
2013-09-03 00:20:56 +02:00
|
|
|
const _TraitsT& __traits,
|
2013-08-27 04:49:22 +02:00
|
|
|
_FlagT __flags)
|
2013-09-03 00:20:56 +02:00
|
|
|
: _M_is_non_matching(__is_non_matching), _M_traits(__traits),
|
2013-08-27 04:49:22 +02:00
|
|
|
_M_flags(__flags), _M_class_set(0)
|
|
|
|
{ }
|
|
|
|
|
|
|
|
bool
|
|
|
|
operator()(_CharT) const;
|
|
|
|
|
|
|
|
void
|
|
|
|
_M_add_char(_CharT __c)
|
2013-09-03 00:20:56 +02:00
|
|
|
{ _M_char_set.insert(_M_translate(__c)); }
|
2013-08-27 04:49:22 +02:00
|
|
|
|
|
|
|
void
|
|
|
|
_M_add_collating_element(const _StringT& __s)
|
|
|
|
{
|
|
|
|
auto __st = _M_traits.lookup_collatename(__s.data(),
|
|
|
|
__s.data() + __s.size());
|
|
|
|
if (__st.empty())
|
|
|
|
__throw_regex_error(regex_constants::error_collate);
|
|
|
|
// TODO: digraph
|
2013-09-03 00:20:56 +02:00
|
|
|
_M_char_set.insert(_M_translate(__st[0]));
|
2013-08-27 04:49:22 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
void
|
|
|
|
_M_add_equivalence_class(const _StringT& __s)
|
|
|
|
{
|
|
|
|
_M_add_character_class(
|
|
|
|
_M_traits.transform_primary(__s.data(),
|
|
|
|
__s.data() + __s.size()));
|
|
|
|
}
|
|
|
|
|
|
|
|
void
|
|
|
|
_M_add_character_class(const _StringT& __s)
|
|
|
|
{
|
|
|
|
auto __st = _M_traits.
|
|
|
|
lookup_classname(__s.data(), __s.data() + __s.size(), _M_is_icase());
|
|
|
|
if (__st == 0)
|
|
|
|
__throw_regex_error(regex_constants::error_ctype);
|
|
|
|
_M_class_set |= __st;
|
|
|
|
}
|
|
|
|
|
|
|
|
void
|
|
|
|
_M_make_range(_CharT __l, _CharT __r)
|
|
|
|
{
|
2013-09-03 00:20:56 +02:00
|
|
|
if (_M_flags & regex_constants::collate)
|
|
|
|
_M_range_set.insert(
|
|
|
|
make_pair(_M_get_str(_M_translate(__l)),
|
|
|
|
_M_get_str(_M_translate(__r))));
|
|
|
|
else
|
|
|
|
_M_range_set.insert(make_pair(_M_get_str(__l), _M_get_str(__r)));
|
2013-08-27 04:49:22 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
_CharT
|
|
|
|
_M_translate(_CharT __c) const
|
|
|
|
{
|
2013-09-03 00:20:56 +02:00
|
|
|
if (_M_is_icase())
|
|
|
|
return _M_traits.translate_nocase(__c);
|
2013-08-27 04:49:22 +02:00
|
|
|
else
|
2013-09-03 00:20:56 +02:00
|
|
|
return _M_traits.translate(__c);
|
2013-08-27 04:49:22 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
bool
|
|
|
|
_M_is_icase() const
|
|
|
|
{ return _M_flags & regex_constants::icase; }
|
|
|
|
|
|
|
|
_StringT
|
|
|
|
_M_get_str(_CharT __c) const
|
|
|
|
{
|
|
|
|
_StringT __s(1, __c);
|
|
|
|
return _M_traits.transform(__s.begin(), __s.end());
|
|
|
|
}
|
|
|
|
|
2013-09-03 00:20:56 +02:00
|
|
|
std::set<_CharT> _M_char_set;
|
|
|
|
std::set<pair<_StringT, _StringT>> _M_range_set;
|
|
|
|
const _TraitsT& _M_traits;
|
|
|
|
_CharClassT _M_class_set;
|
|
|
|
_FlagT _M_flags;
|
|
|
|
bool _M_is_non_matching;
|
2013-08-27 04:49:22 +02:00
|
|
|
};
|
|
|
|
|
2012-06-28 09:50:34 +02:00
|
|
|
//@} regex-detail
|
PR libstdc++/36104 part four
2011-01-30 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/36104 part four
* include/bits/c++config (_GLIBCXX_STD): Remove.
(_GLIBCXX_STD_D, _GLIBCXX_PR): Now _GLIBCXX_STD_C.
(_GLIBCXX_P): Now _GLIBCXX_STD_A.
(_GLIBCXX_NAMESPACE_DEBUG, _GLIBCXX_NAMESPACE_PARALLEL,
_GLIBCXX_NAMESPACE_PROFILE, _GLIBCXX_NAMESPACE_VERSION): Remove.
(_GLIBCXX_INLINE_DEBUG, _GLIBCXX_INLINE_PARALLEL,
_GLIBCXX_INLINE_PROFILE): Remove.
(_GLIBCXX_BEGIN_NAMESPACE(X)): Remove.
(_GLIBCXX_END_NAMESPACE): Remove.
(_GLIBCXX_BEGIN_NESTED_NAMESPACE(X, Y)): Remove.
(_GLIBCXX_END_NESTED_NAMESPACE): Remove.
(_GLIBCXX_BEGIN_NAMESPACE_ALGO): Add.
(_GLIBCXX_END_NAMESPACE_ALGO): Add.
(_GLIBCXX_BEGIN_NAMESPACE_CONTAINER): Add.
(_GLIBCXX_END_NAMESPACE_CONTAINER): Add.
(_GLIBCXX_BEGIN_NAMESPACE_VERSION): Add.
(_GLIBCXX_END_NAMESPACE_VERSION): Add.
(_GLIBCXX_BEGIN_LDBL_NAMESPACE): To _GLIBCXX_BEGIN_NAMESPACE_LDBL.
(_GLIBCXX_END_LDBL_NAMESPACE): To _GLIBCXX_END_NAMESPACE_LDBL.
(_GLIBCXX_VISIBILITY_ATTR): Revert to _GLIBCXX_VISIBILITY.
* include/*: Use new macros for namespace scope.
* config/*: Same.
* src/*: Same.
* src/Makefile.am (sources): Remove debug_list.cc, add
compatibility-debug_list-2.cc.
(parallel_sources): Remove parallel_list.cc, add
compatibility-parallel_list-2.cc.
(compatibility-parallel_list-2.[o,lo]): New rule.
* src/Makefile.in: Regenerate.
* src/debug_list.cc: Remove.
* src/parallel_list.cc: Remove.
* src/compatibility-list-2.cc: New.
* src/compatibility-debug_list-2.cc: New.
* src/compatibility-parallel_list-2.cc: New.
* doc/doxygen/user.cfg.in: Adjust macros.
* testsuite/20_util/auto_ptr/assign_neg.cc: Adjust line numbers, macros.
* testsuite/20_util/declval/requirements/1_neg.cc: Same.
* testsuite/20_util/duration/requirements/typedefs_neg1.cc: Same.
* testsuite/20_util/duration/requirements/typedefs_neg2.cc: Same.
* testsuite/20_util/duration/requirements/typedefs_neg3.cc: Same.
* testsuite/20_util/forward/c_neg.cc: Same.
* testsuite/20_util/forward/f_neg.cc: Same.
* testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Same.
* testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Same.
* testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Same.
* testsuite/20_util/ratio/operations/ops_overflow_neg.cc: Same.
* testsuite/20_util/shared_ptr/cons/43820_neg.cc: Same.
* testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Same.
* testsuite/23_containers/deque/requirements/dr438/assign_neg.cc: Same.
* testsuite/23_containers/deque/requirements/dr438/
constructor_1_neg.cc: Same.
* testsuite/23_containers/deque/requirements/dr438/
constructor_2_neg.cc: Same.
* testsuite/23_containers/deque/requirements/dr438/insert_neg.cc: Same.
* testsuite/23_containers/forward_list/capacity/1.cc: Same.
* testsuite/23_containers/forward_list/requirements/dr438/
assign_neg.cc: Same.
* testsuite/23_containers/forward_list/requirements/dr438/
constructor_1_neg.cc: Same.
* testsuite/23_containers/forward_list/requirements/dr438/
constructor_2_neg.cc: Same.
* testsuite/23_containers/forward_list/requirements/dr438/
insert_neg.cc: Same.
* testsuite/23_containers/list/capacity/29134.cc: Same.
* testsuite/23_containers/list/requirements/dr438/assign_neg.cc: Same.
* testsuite/23_containers/list/requirements/dr438/
constructor_1_neg.cc: Same.
* testsuite/23_containers/list/requirements/dr438/
constructor_2_neg.cc: Same.
* testsuite/23_containers/list/requirements/dr438/insert_neg.cc: Same.
* testsuite/23_containers/vector/bool/capacity/29134.cc: Same.
* testsuite/23_containers/vector/bool/modifiers/insert/31370.cc: Same.
* testsuite/23_containers/vector/requirements/dr438/assign_neg.cc: Same.
* testsuite/23_containers/vector/requirements/dr438/
constructor_1_neg.cc: Same.
* testsuite/23_containers/vector/requirements/dr438/
constructor_2_neg.cc: Same.
* testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: Same.
* testsuite/25_algorithms/sort/35588.cc: Same.
* testsuite/27_io/ios_base/cons/assign_neg.cc: Same.
* testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
* testsuite/ext/profile/mutex_extensions_neg.cc: Same.
* testsuite/ext/profile/profiler_algos.cc: Same.
* testsuite/ext/type_traits/add_unsigned_floating_neg.cc: Same.
* testsuite/ext/type_traits/add_unsigned_integer_neg.cc: Same.
* testsuite/ext/type_traits/remove_unsigned_floating_neg.cc: Same.
* testsuite/ext/type_traits/remove_unsigned_integer_neg.cc: Same.
* testsuite/tr1/2_general_utilities/shared_ptr/cons/43820_neg.cc: Same.
From-SVN: r169421
2011-01-30 23:39:36 +01:00
|
|
|
_GLIBCXX_END_NAMESPACE_VERSION
|
2012-06-28 09:50:34 +02:00
|
|
|
} // namespace __detail
|
2011-03-15 01:24:08 +01:00
|
|
|
} // namespace std
|
2013-08-07 18:27:36 +02:00
|
|
|
|
|
|
|
#include <bits/regex_compiler.tcc>
|