|
|
template<typename T , std::enable_if_t< stdex::convertible_to< T, R &> and(not std::is_same_v< stdex::remove_cvref_t< T >, ref_view >), int > = 0, typename = std::void_t<decltype(FUN(std::declval<T>()))>> |
| constexpr | ref_view (T &&t) |
| | Construct from a range.
|
| |
| constexpr R & | base () const |
| |
| constexpr stdex::ranges::iterator_t< R > | begin () const |
| |
| constexpr stdex::ranges::sentinel_t< R > | end () const |
| |
|
constexpr bool | empty () const |
| | Indicates whether the view is empty.
|
| |
|
template<bool Enable = true, std::enable_if_t< Enable and sized_range< R >, int > = 0> |
| constexpr auto | size () const |
| | The size of the object.
|
| |
|
constexpr bool | empty () |
| |
|
constexpr bool | empty () const |
| |
|
constexpr auto | cbegin () |
| |
|
constexpr auto | cbegin () const |
| |
|
constexpr auto | cend () |
| |
|
constexpr auto | cend () const |
| |
|
constexpr | operator bool () |
| |
|
constexpr | operator bool () const |
| |
|
constexpr auto | size () |
| |
|
constexpr auto | size () const |
| |
|
decltype(auto) constexpr | front () |
| |
|
decltype(auto) constexpr | front () const |
| |
|
decltype(auto) constexpr | back () |
| |
|
decltype(auto) constexpr | back () const |
| |
|
decltype(auto) constexpr | operator[] (range_difference_t< D > n) |
| |
|
decltype(auto) constexpr | operator[] (range_difference_t< D > n) const |
| |
◆ base()
- Returns
- A reference to the wrapped object.
◆ begin()
- Returns
- An iterator at the beginning, if the base object is a range.
◆ end()
- Returns
- An iterator at the end, if the base object is a range.
The documentation for this struct was generated from the following file: