std::experimental::ranges::reference_t,std::experimental::ranges::rvalue_reference_t, (3) - Linux Manuals
std::experimental::ranges::reference_t,std::experimental::ranges::rvalue_reference_t,: std::experimental::ranges::reference_t,std::experimental::ranges::rvalue_reference_t,
Command to display std::experimental::ranges::reference_t,std::experimental::ranges::rvalue_reference_t,
manual in Linux: $ man 3 std::experimental::ranges::reference_t,std::experimental::ranges::rvalue_reference_t,
NAME
std::experimental::ranges::reference_t,std::experimental::ranges::rvalue_reference_t, - std::experimental::ranges::reference_t,std::experimental::ranges::rvalue_reference_t,
Synopsis
Defined in header <experimental/ranges/iterator>
template <class T>
concept bool /*dereferenceable*/ = requires(T& t) { {*t} -> auto&&;
}; // exposition only
template< /*dereferenceable*/ T > (1) (ranges TS)
using reference_t = decltype(*declval<T&>());
template< /*dereferenceable*/ T >
requires requires(T& t) { { ranges::iter_move(t) } -> auto&&; } (2) (ranges TS)
using rvalue_reference_t =
decltype(ranges::iter_move(declval<T&>()));
template< Readable T >
using iter_common_reference_t = (3) (ranges TS)
ranges::common_reference_t<ranges::reference_t<T>,
ranges::value_type_t<T>&>;
1) Obtain the reference type of a dereferenceable type T.
2) Obtain the rvalue reference type of a dereferenceable type T, that is, the return
type of ranges::iter_move.
3) Compute a Readable type's common reference type. This is the common reference
type of its reference type and an lvalue reference to its value type.
Notes
The -> auto&& constraint checks that the type of the expression is not void.
Pages related to std::experimental::ranges::reference_t,std::experimental::ranges::rvalue_reference_t,
- std::experimental::ranges::reference_t,std::experimental::ranges::rvalue_reference_t,std::experimental::ranges::iter_common_reference_t (3) - std::experimental::ranges::reference_t,std::experimental::ranges::rvalue_reference_t,std::experimental::ranges::iter_common_reference_t
- std::experimental::ranges::Assignable (3) - std::experimental::ranges::Assignable
- std::experimental::ranges::BidirectionalIterator (3) - std::experimental::ranges::BidirectionalIterator
- std::experimental::ranges::BidirectionalRange (3) - std::experimental::ranges::BidirectionalRange
- std::experimental::ranges::Boolean (3) - std::experimental::ranges::Boolean
- std::experimental::ranges::BoundedRange (3) - std::experimental::ranges::BoundedRange
- std::experimental::ranges::Common (3) - std::experimental::ranges::Common
- std::experimental::ranges::CommonReference (3) - std::experimental::ranges::CommonReference
- std::experimental::ranges::Constructible (3) - std::experimental::ranges::Constructible
- std::experimental::ranges::ConvertibleTo (3) - std::experimental::ranges::ConvertibleTo
- std::experimental::ranges::CopyConstructible (3) - std::experimental::ranges::CopyConstructible
- std::experimental::ranges::Copyable (3) - std::experimental::ranges::Copyable
- std::experimental::ranges::DefaultConstructible (3) - std::experimental::ranges::DefaultConstructible
- std::experimental::ranges::DerivedFrom (3) - std::experimental::ranges::DerivedFrom
- std::experimental::ranges::Destructible (3) - std::experimental::ranges::Destructible
- std::experimental::ranges::EqualityComparable, (3) - std::experimental::ranges::EqualityComparable,
- std::experimental::ranges::EqualityComparable,std::experimental::ranges::EqualityComparableWith (3) - std::experimental::ranges::EqualityComparable,std::experimental::ranges::EqualityComparableWith
- std::experimental::ranges::ForwardIterator (3) - std::experimental::ranges::ForwardIterator
- std::experimental::ranges::ForwardRange (3) - std::experimental::ranges::ForwardRange
- std::experimental::ranges::Incrementable (3) - std::experimental::ranges::Incrementable
- std::experimental::ranges::IndirectRelation (3) - std::experimental::ranges::IndirectRelation
- std::experimental::ranges::IndirectStrictWeakOrder (3) - std::experimental::ranges::IndirectStrictWeakOrder
- std::experimental::ranges::IndirectUnaryInvocable, (3) - std::experimental::ranges::IndirectUnaryInvocable,
- std::experimental::ranges::IndirectUnaryInvocable,std::experimental::ranges::IndirectRegularUnaryInvocable (3) - std::experimental::ranges::IndirectUnaryInvocable,std::experimental::ranges::IndirectRegularUnaryInvocable
- std::experimental::ranges::IndirectUnaryPredicate (3) - std::experimental::ranges::IndirectUnaryPredicate
- std::experimental::ranges::IndirectlyComparable (3) - std::experimental::ranges::IndirectlyComparable
- std::experimental::ranges::IndirectlyCopyable (3) - std::experimental::ranges::IndirectlyCopyable
- std::experimental::ranges::IndirectlyCopyableStorable (3) - std::experimental::ranges::IndirectlyCopyableStorable
- std::experimental::ranges::IndirectlyMovable (3) - std::experimental::ranges::IndirectlyMovable
- std::experimental::ranges::IndirectlyMovableStorable (3) - std::experimental::ranges::IndirectlyMovableStorable
- std::experimental::ranges::IndirectlySwappable (3) - std::experimental::ranges::IndirectlySwappable