1*58b9f456SAndroid Build Coastguard Worker// -*- C++ -*- 2*58b9f456SAndroid Build Coastguard Worker//===----------------------------- regex ----------------------------------===// 3*58b9f456SAndroid Build Coastguard Worker// 4*58b9f456SAndroid Build Coastguard Worker// The LLVM Compiler Infrastructure 5*58b9f456SAndroid Build Coastguard Worker// 6*58b9f456SAndroid Build Coastguard Worker// This file is dual licensed under the MIT and the University of Illinois Open 7*58b9f456SAndroid Build Coastguard Worker// Source Licenses. See LICENSE.TXT for details. 8*58b9f456SAndroid Build Coastguard Worker// 9*58b9f456SAndroid Build Coastguard Worker//===----------------------------------------------------------------------===// 10*58b9f456SAndroid Build Coastguard Worker 11*58b9f456SAndroid Build Coastguard Worker#ifndef _LIBCPP_EXPERIMENTAL_REGEX 12*58b9f456SAndroid Build Coastguard Worker#define _LIBCPP_EXPERIMENTAL_REGEX 13*58b9f456SAndroid Build Coastguard Worker/* 14*58b9f456SAndroid Build Coastguard Worker experimental/regex synopsis 15*58b9f456SAndroid Build Coastguard Worker 16*58b9f456SAndroid Build Coastguard Worker// C++1z 17*58b9f456SAndroid Build Coastguard Workernamespace std { 18*58b9f456SAndroid Build Coastguard Workernamespace experimental { 19*58b9f456SAndroid Build Coastguard Workerinline namespace fundamentals_v1 { 20*58b9f456SAndroid Build Coastguard Workernamespace pmr { 21*58b9f456SAndroid Build Coastguard Worker 22*58b9f456SAndroid Build Coastguard Worker template <class BidirectionalIterator> 23*58b9f456SAndroid Build Coastguard Worker using match_results = 24*58b9f456SAndroid Build Coastguard Worker std::match_results<BidirectionalIterator, 25*58b9f456SAndroid Build Coastguard Worker polymorphic_allocator<sub_match<BidirectionalIterator>>>; 26*58b9f456SAndroid Build Coastguard Worker 27*58b9f456SAndroid Build Coastguard Worker typedef match_results<const char*> cmatch; 28*58b9f456SAndroid Build Coastguard Worker typedef match_results<const wchar_t*> wcmatch; 29*58b9f456SAndroid Build Coastguard Worker typedef match_results<string::const_iterator> smatch; 30*58b9f456SAndroid Build Coastguard Worker typedef match_results<wstring::const_iterator> wsmatch; 31*58b9f456SAndroid Build Coastguard Worker 32*58b9f456SAndroid Build Coastguard Worker} // namespace pmr 33*58b9f456SAndroid Build Coastguard Worker} // namespace fundamentals_v1 34*58b9f456SAndroid Build Coastguard Worker} // namespace experimental 35*58b9f456SAndroid Build Coastguard Worker} // namespace std 36*58b9f456SAndroid Build Coastguard Worker 37*58b9f456SAndroid Build Coastguard Worker */ 38*58b9f456SAndroid Build Coastguard Worker 39*58b9f456SAndroid Build Coastguard Worker#include <experimental/__config> 40*58b9f456SAndroid Build Coastguard Worker#include <regex> 41*58b9f456SAndroid Build Coastguard Worker#include <experimental/string> 42*58b9f456SAndroid Build Coastguard Worker#include <experimental/memory_resource> 43*58b9f456SAndroid Build Coastguard Worker 44*58b9f456SAndroid Build Coastguard Worker#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) 45*58b9f456SAndroid Build Coastguard Worker#pragma GCC system_header 46*58b9f456SAndroid Build Coastguard Worker#endif 47*58b9f456SAndroid Build Coastguard Worker 48*58b9f456SAndroid Build Coastguard Worker_LIBCPP_BEGIN_NAMESPACE_LFTS_PMR 49*58b9f456SAndroid Build Coastguard Worker 50*58b9f456SAndroid Build Coastguard Workertemplate <class _BiDirIter> 51*58b9f456SAndroid Build Coastguard Workerusing match_results = 52*58b9f456SAndroid Build Coastguard Worker _VSTD::match_results<_BiDirIter, 53*58b9f456SAndroid Build Coastguard Worker polymorphic_allocator<_VSTD::sub_match<_BiDirIter>>>; 54*58b9f456SAndroid Build Coastguard Worker 55*58b9f456SAndroid Build Coastguard Workertypedef match_results<const char*> cmatch; 56*58b9f456SAndroid Build Coastguard Workertypedef match_results<const wchar_t*> wcmatch; 57*58b9f456SAndroid Build Coastguard Workertypedef match_results<_VSTD_LFTS_PMR::string::const_iterator> smatch; 58*58b9f456SAndroid Build Coastguard Workertypedef match_results<_VSTD_LFTS_PMR::wstring::const_iterator> wsmatch; 59*58b9f456SAndroid Build Coastguard Worker 60*58b9f456SAndroid Build Coastguard Worker_LIBCPP_END_NAMESPACE_LFTS_PMR 61*58b9f456SAndroid Build Coastguard Worker 62*58b9f456SAndroid Build Coastguard Worker#endif /* _LIBCPP_EXPERIMENTAL_REGEX */ 63