// class template regex -*- C++ -*-
-// Copyright (C) 2013-2019 Free Software Foundation, Inc.
+// Copyright (C) 2013-2024 Free Software Foundation, Inc.
//
// 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
{
#ifdef _GLIBCXX_DEBUG
inline std::ostream&
- _State_base::_M_print(std::ostream& ostr) const
+ _State_base::_M_print(std::ostream& __ostr) const
{
switch (_M_opcode)
{
case _S_opcode_alternative:
case _S_opcode_repeat:
- ostr << "alt next=" << _M_next << " alt=" << _M_alt;
+ __ostr << "alt next=" << _M_next << " alt=" << _M_alt;
break;
case _S_opcode_subexpr_begin:
- ostr << "subexpr begin next=" << _M_next << " index=" << _M_subexpr;
+ __ostr << "subexpr begin next=" << _M_next << " index=" << _M_subexpr;
break;
case _S_opcode_subexpr_end:
- ostr << "subexpr end next=" << _M_next << " index=" << _M_subexpr;
+ __ostr << "subexpr end next=" << _M_next << " index=" << _M_subexpr;
break;
case _S_opcode_backref:
- ostr << "backref next=" << _M_next << " index=" << _M_backref_index;
+ __ostr << "backref next=" << _M_next << " index=" << _M_backref_index;
break;
case _S_opcode_match:
- ostr << "match next=" << _M_next;
+ __ostr << "match next=" << _M_next;
break;
case _S_opcode_accept:
- ostr << "accept next=" << _M_next;
+ __ostr << "accept next=" << _M_next;
break;
default:
- ostr << "unknown next=" << _M_next;
+ __ostr << "unknown next=" << _M_next;
break;
}
- return ostr;
+ return __ostr;
}
// Prints graphviz dot commands for state.
_StateSeq<_TraitsT>
_StateSeq<_TraitsT>::_M_clone()
{
- std::map<_StateIdT, _StateIdT> __m;
- std::stack<_StateIdT> __stack;
+ _GLIBCXX_STD_C::map<_StateIdT, _StateIdT> __m;
+ std::stack<_StateIdT, _GLIBCXX_STD_C::deque<_StateIdT>> __stack;
__stack.push(_M_start);
while (!__stack.empty())
{