11debfc3dSmrg// <experimental/regex> -*- C++ -*- 21debfc3dSmrg 3*8feb0f0bSmrg// Copyright (C) 2015-2020 Free Software Foundation, Inc. 41debfc3dSmrg// 51debfc3dSmrg// This file is part of the GNU ISO C++ Library. This library is free 61debfc3dSmrg// software; you can redistribute it and/or modify it under the 71debfc3dSmrg// terms of the GNU General Public License as published by the 81debfc3dSmrg// Free Software Foundation; either version 3, or (at your option) 91debfc3dSmrg// any later version. 101debfc3dSmrg 111debfc3dSmrg// This library is distributed in the hope that it will be useful, 121debfc3dSmrg// but WITHOUT ANY WARRANTY; without even the implied warranty of 131debfc3dSmrg// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 141debfc3dSmrg// GNU General Public License for more details. 151debfc3dSmrg 161debfc3dSmrg// Under Section 7 of GPL version 3, you are granted additional 171debfc3dSmrg// permissions described in the GCC Runtime Library Exception, version 181debfc3dSmrg// 3.1, as published by the Free Software Foundation. 191debfc3dSmrg 201debfc3dSmrg// You should have received a copy of the GNU General Public License and 211debfc3dSmrg// a copy of the GCC Runtime Library Exception along with this program; 221debfc3dSmrg// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see 231debfc3dSmrg// <http://www.gnu.org/licenses/>. 241debfc3dSmrg 251debfc3dSmrg/** @file experimental/regex 261debfc3dSmrg * This is a TS C++ Library header. 27*8feb0f0bSmrg * @ingroup libfund-ts 281debfc3dSmrg */ 291debfc3dSmrg 301debfc3dSmrg#ifndef _GLIBCXX_EXPERIMENTAL_REGEX 311debfc3dSmrg#define _GLIBCXX_EXPERIMENTAL_REGEX 1 321debfc3dSmrg 331debfc3dSmrg#pragma GCC system_header 341debfc3dSmrg 351debfc3dSmrg#if __cplusplus >= 201402L 361debfc3dSmrg 371debfc3dSmrg#include <regex> 381debfc3dSmrg#include <experimental/string> 391debfc3dSmrg 401debfc3dSmrgnamespace std _GLIBCXX_VISIBILITY(default) 411debfc3dSmrg{ 42a2dc1f3fSmrg_GLIBCXX_BEGIN_NAMESPACE_VERSION 43a2dc1f3fSmrg 441debfc3dSmrgnamespace experimental 451debfc3dSmrg{ 461debfc3dSmrginline namespace fundamentals_v2 471debfc3dSmrg{ 481debfc3dSmrg#if _GLIBCXX_USE_CXX11_ABI 491debfc3dSmrgnamespace pmr 501debfc3dSmrg{ 511debfc3dSmrg template<typename _BidirectionalIterator> 521debfc3dSmrg using match_results 531debfc3dSmrg = std::match_results<_BidirectionalIterator, polymorphic_allocator< 541debfc3dSmrg sub_match<_BidirectionalIterator>>>; 551debfc3dSmrg 561debfc3dSmrg typedef match_results<const char*> cmatch; 571debfc3dSmrg typedef match_results<const wchar_t*> wcmatch; 581debfc3dSmrg typedef match_results<string::const_iterator> smatch; 591debfc3dSmrg typedef match_results<wstring::const_iterator> wsmatch; 601debfc3dSmrg 611debfc3dSmrg} // namespace pmr 621debfc3dSmrg#endif 631debfc3dSmrg} // namespace fundamentals_v2 641debfc3dSmrg} // namespace experimental 65a2dc1f3fSmrg_GLIBCXX_END_NAMESPACE_VERSION 661debfc3dSmrg} // namespace std 671debfc3dSmrg 681debfc3dSmrg#endif // C++14 691debfc3dSmrg 701debfc3dSmrg#endif // _GLIBCXX_EXPERIMENTAL_REGEX 71