|
libstdc++
|
Go to the source code of this file.
Classes | |
| class | std::ranges::view_interface< _Derived > |
Namespaces | |
| std | |
Enumerations | |
| enum | subrange_kind : bool { unsized, sized } |
Functions | |
| else return __r | std::ranges::end () |
| template<input_or_output_iterator _It, sentinel_for< _It > _Sent = _It, subrange_kind _Kind = sized_sentinel_for<_Sent, _It> ? subrange_kind::sized : subrange_kind::unsized> | |
| std::ranges::requires (_Kind==subrange_kind::sized||!sized_sentinel_for< _Sent, _It >) class subrange | |
| template<size_t _Num, class _It , class _Sent , subrange_kind _Kind> | |
| std::ranges::requires ((_Num==0 &©able< _It >)||_Num==1) const expr auto get(const subrange< _It | |
| template<size_t _Num, class _It , class _Sent , subrange_kind _Kind> | |
| std::ranges::requires (_Num< 2) const expr auto get(subrange< _It | |
| template<input_or_output_iterator _It, sentinel_for< _It > _Sent> | |
| std::ranges::subrange (_It, _Sent) -> subrange< _It, _Sent > | |
| template<input_or_output_iterator _It, sentinel_for< _It > _Sent> | |
| std::ranges::subrange (_It, _Sent, __detail::__make_unsigned_like_t< iter_difference_t< _It >>) -> subrange< _It, _Sent, subrange_kind::sized > | |
| template<borrowed_range _Rng> | |
| std::ranges::subrange (_Rng &&) -> subrange< iterator_t< _Rng >, sentinel_t< _Rng >,(sized_range< _Rng >||sized_sentinel_for< sentinel_t< _Rng >, iterator_t< _Rng >>) ? subrange_kind::sized :subrange_kind::unsized > | |
| template<borrowed_range _Rng> | |
| std::ranges::subrange (_Rng &&, __detail::__make_unsigned_like_t< range_difference_t< _Rng >>) -> subrange< iterator_t< _Rng >, sentinel_t< _Rng >, subrange_kind::sized > | |
This is an internal header file, included by other library headers. Do not attempt to use it directly. Instead, include <ranges>.
Definition in file ranges_util.h.
| std::ranges::requires | ( | _Kind | = = subrange_kind::sized || !sized_sentinel_for<_Sent, _It> | ) |
The ranges::subrange class template.
Definition at line 268 of file ranges_util.h.