Changeset View
Changeset View
Standalone View
Standalone View
libcxx/include/regex
Show First 20 Lines • Show All 449 Lines • ▼ Show 20 Lines | public: | ||||
typedef const_iterator iterator; | typedef const_iterator iterator; | ||||
typedef typename iterator_traits<BidirectionalIterator>::difference_type difference_type; | typedef typename iterator_traits<BidirectionalIterator>::difference_type difference_type; | ||||
typedef typename allocator_traits<Allocator>::size_type size_type; | typedef typename allocator_traits<Allocator>::size_type size_type; | ||||
typedef Allocator allocator_type; | typedef Allocator allocator_type; | ||||
typedef typename iterator_traits<BidirectionalIterator>::value_type char_type; | typedef typename iterator_traits<BidirectionalIterator>::value_type char_type; | ||||
typedef basic_string<char_type> string_type; | typedef basic_string<char_type> string_type; | ||||
// construct/copy/destroy: | // construct/copy/destroy: | ||||
explicit match_results(const Allocator& a = Allocator()); | explicit match_results(const Allocator& a = Allocator()); // before C++20 | ||||
match_results() : match_results(Allocator()) {} // C++20 | |||||
explicit match_results(const Allocator& a); // C++20 | |||||
match_results(const match_results& m); | match_results(const match_results& m); | ||||
match_results(match_results&& m) noexcept; | match_results(match_results&& m) noexcept; | ||||
match_results& operator=(const match_results& m); | match_results& operator=(const match_results& m); | ||||
match_results& operator=(match_results&& m); | match_results& operator=(match_results&& m); | ||||
~match_results(); | ~match_results(); | ||||
bool ready() const; | bool ready() const; | ||||
▲ Show 20 Lines • Show All 4,861 Lines • ▼ Show 20 Lines | public: | ||||
typedef typename __container_type::const_iterator const_iterator; | typedef typename __container_type::const_iterator const_iterator; | ||||
typedef const_iterator iterator; | typedef const_iterator iterator; | ||||
typedef typename iterator_traits<_BidirectionalIterator>::difference_type difference_type; | typedef typename iterator_traits<_BidirectionalIterator>::difference_type difference_type; | ||||
typedef typename allocator_traits<allocator_type>::size_type size_type; | typedef typename allocator_traits<allocator_type>::size_type size_type; | ||||
typedef typename iterator_traits<_BidirectionalIterator>::value_type char_type; | typedef typename iterator_traits<_BidirectionalIterator>::value_type char_type; | ||||
typedef basic_string<char_type> string_type; | typedef basic_string<char_type> string_type; | ||||
// construct/copy/destroy: | // construct/copy/destroy: | ||||
#if _LIBCPP_STD_VER > 17 | |||||
match_results() : match_results(allocator_type()) {} | |||||
explicit match_results(const allocator_type& __a); | |||||
#else | |||||
explicit match_results(const allocator_type& __a = allocator_type()); | explicit match_results(const allocator_type& __a = allocator_type()); | ||||
#endif | |||||
// match_results(const match_results&) = default; | // match_results(const match_results&) = default; | ||||
// match_results& operator=(const match_results&) = default; | // match_results& operator=(const match_results&) = default; | ||||
// match_results(match_results&& __m) = default; | // match_results(match_results&& __m) = default; | ||||
// match_results& operator=(match_results&& __m) = default; | // match_results& operator=(match_results&& __m) = default; | ||||
// ~match_results() = default; | // ~match_results() = default; | ||||
_LIBCPP_INLINE_VISIBILITY | _LIBCPP_INLINE_VISIBILITY | ||||
bool ready() const {return __ready_;} | bool ready() const {return __ready_;} | ||||
▲ Show 20 Lines • Show All 1,388 Lines • Show Last 20 Lines |