2 //===----------------------------- regex ----------------------------------===//
4 // The LLVM Compiler Infrastructure
6 // This file is dual licensed under the MIT and the University of Illinois Open
7 // Source Licenses. See LICENSE.TXT for details.
9 //===----------------------------------------------------------------------===//
11 #ifndef _LIBCPP_EXPERIMENTAL_REGEX
12 #define _LIBCPP_EXPERIMENTAL_REGEX
14 experimental/regex synopsis
18 namespace experimental {
19 inline namespace fundamentals_v1 {
22 template <class BidirectionalIterator>
24 std::match_results<BidirectionalIterator,
25 polymorphic_allocator<sub_match<BidirectionalIterator>>>;
27 typedef match_results<const char*> cmatch;
28 typedef match_results<const wchar_t*> wcmatch;
29 typedef match_results<string::const_iterator> smatch;
30 typedef match_results<wstring::const_iterator> wsmatch;
33 } // namespace fundamentals_v1
34 } // namespace experimental
39 #include <experimental/__config>
41 #include <experimental/string>
42 #include <experimental/memory_resource>
44 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
45 #pragma GCC system_header
48 _LIBCPP_BEGIN_NAMESPACE_LFTS_PMR
50 template <class _BiDirIter>
52 _VSTD::match_results<_BiDirIter,
53 polymorphic_allocator<_VSTD::sub_match<_BiDirIter>>>;
55 typedef match_results<const char*> cmatch;
56 typedef match_results<const wchar_t*> wcmatch;
57 typedef match_results<_VSTD_LFTS_PMR::string::const_iterator> smatch;
58 typedef match_results<_VSTD_LFTS_PMR::wstring::const_iterator> wsmatch;
60 _LIBCPP_END_NAMESPACE_LFTS_PMR
62 #endif /* _LIBCPP_EXPERIMENTAL_REGEX */