Changeset View
Changeset View
Standalone View
Standalone View
include/regex
Show First 20 Lines • Show All 764 Lines • ▼ Show 20 Lines | |||||
#include <utility> | #include <utility> | ||||
#include <iterator> | #include <iterator> | ||||
#include <string> | #include <string> | ||||
#include <memory> | #include <memory> | ||||
#include <vector> | #include <vector> | ||||
#include <deque> | #include <deque> | ||||
#include <version> | #include <version> | ||||
#if _LIBCPP_STD_VER > 14 | |||||
#include <__memory_resource_base> | |||||
#endif | |||||
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) | #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) | ||||
#pragma GCC system_header | #pragma GCC system_header | ||||
#endif | #endif | ||||
_LIBCPP_PUSH_MACROS | _LIBCPP_PUSH_MACROS | ||||
#include <__undef_macros> | #include <__undef_macros> | ||||
▲ Show 20 Lines • Show All 1,982 Lines • ▼ Show 20 Lines | |||||
_VSTD::regex_replace(back_inserter(__r), __s, | _VSTD::regex_replace(back_inserter(__r), __s, | ||||
__s + char_traits<_CharT>::length(__s), __e, | __s + char_traits<_CharT>::length(__s), __e, | ||||
__fmt, __flags); | __fmt, __flags); | ||||
return __r; | return __r; | ||||
} | } | ||||
_LIBCPP_END_NAMESPACE_STD | _LIBCPP_END_NAMESPACE_STD | ||||
#if _LIBCPP_STD_VER > 14 | |||||
_LIBCPP_BEGIN_NAMESPACE_STD | |||||
namespace pmr | |||||
{ | |||||
template<class _BidirT> | |||||
using match_results = _VSTD::match_results<_BidirT, polymorphic_allocator<_VSTD::sub_match<_BidirT>>>; | |||||
using cmatch = match_results<const char*>; | |||||
using wcmatch = match_results<const wchar_t*>; | |||||
using smatch = match_results<_VSTD::pmr::string::const_iterator>; | |||||
using wsmatch = match_results<_VSTD::pmr::wstring::const_iterator>; | |||||
} | |||||
_LIBCPP_END_NAMESPACE_STD | |||||
#endif | |||||
_LIBCPP_POP_MACROS | _LIBCPP_POP_MACROS | ||||
#endif // _LIBCPP_REGEX | #endif // _LIBCPP_REGEX | ||||
Context not available. |