std::experimental::ranges::Same (3) - Linux Manuals
std::experimental::ranges::Same: std::experimental::ranges::Same
Command to display std::experimental::ranges::Same
manual in Linux: $ man 3 std::experimental::ranges::Same
NAME
std::experimental::ranges::Same - std::experimental::ranges::Same
Synopsis
Defined in header <experimental/ranges/concepts>
template < class T, class U > (ranges TS)
concept bool Same = std::is_same<T, U>::value; // see below
The concept Same<T, U> is satisfied if and only if T and U denote the same type.
Despite being specified using it, there need not be any subsumption relationship between Same<T, U> and std::is_same<T, U>::value.
For the purposes of constraint checking, Same<T, U> implies Same<U, T>.
Notes
The additional requirement on constraint checking differentiates Same from std::is_same.
See also
is_same checks if two types are the same
(class template)
(C++11)
Pages related to std::experimental::ranges::Same
- std::experimental::ranges::Semiregular (3) - std::experimental::ranges::Semiregular
- std::experimental::ranges::Sentinel (3) - std::experimental::ranges::Sentinel
- std::experimental::ranges::SignedIntegral (3) - std::experimental::ranges::SignedIntegral
- std::experimental::ranges::SizedRange (3) - std::experimental::ranges::SizedRange
- std::experimental::ranges::SizedSentinel (3) - std::experimental::ranges::SizedSentinel
- std::experimental::ranges::Sortable (3) - std::experimental::ranges::Sortable
- std::experimental::ranges::StrictTotallyOrdered, (3) - std::experimental::ranges::StrictTotallyOrdered,
- std::experimental::ranges::StrictTotallyOrdered,std::experimental::ranges::StrictTotallyOrderedWith (3) - std::experimental::ranges::StrictTotallyOrdered,std::experimental::ranges::StrictTotallyOrderedWith
- std::experimental::ranges::StrictWeakOrder (3) - std::experimental::ranges::StrictWeakOrder
- std::experimental::ranges::Swappable,std::experimental::ranges::SwappableWith (3) - std::experimental::ranges::Swappable,std::experimental::ranges::SwappableWith
- 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