Namespaces
Variants
Views
Actions

std::experimental::ranges::Relation

From cppreference.com
< cpp‎ | experimental‎ | ranges
 
 
Technical specifications
Filesystem library (filesystem TS)
Library fundamentals (library fundamentals TS)
Library fundamentals 2 (library fundamentals 2 TS)
Extensions for parallelism (parallelism TS)
Extensions for concurrency (concurrency TS)
Concepts (concepts TS)
Ranges (ranges TS)
Special mathematical functions (special math TR)
 
 
Concepts library
Core language concepts
                              
Object concepts
                              
                              
Comparison concepts
Callable concepts
                                        
Relation
                              
URNG concept
 
template <class R, class T>

concept bool Relation() {
    return ranges::Predicate<R, T, T>();

}
(1) (ranges TS)
template <class R, class T, class U>

concept bool Relation() {
    return ranges::Relation<R, T>() &&
           ranges::Relation<R, U>() &&
           ranges::CommonReference<const T&, const U&>() &&
           ranges::Relation<R, std::common_reference_t<const T&, const U&>>() &&
           ranges::Predicate<R, T, U>() &&
           ranges::Predicate<R, U, T>();

}
(2) (ranges TS)