Namespaces
Variants
Views
Actions

std::experimental::ranges::Readable

From cppreference.com
< cpp‎ | experimental‎ | ranges
 
 
Experimental
Technical Specification
Filesystem library (filesystem TS)
Library fundamentals (library fundamentals TS)
Library fundamentals 2 (library fundamentals TS v2)
Library fundamentals 3 (library fundamentals TS v3)
Extensions for parallelism (parallelism TS)
Extensions for parallelism 2 (parallelism TS v2)
Extensions for concurrency (concurrency TS)
Extensions for concurrency 2 (concurrency TS v2)
Concepts (concepts TS)
Ranges (ranges TS)
Reflection (reflection TS)
Mathematical special functions (special functions TR)
Experimental Non-TS
Pattern Matching
Linear Algebra
std::execution
Contracts
2D Graphics
 
 
Iterators library
Iterator concepts
Indirect callable concepts
                                                  
                                                  
                                                  
Common algorithm requirements
                                                  
Concept utilities
Iterator utilities and operations
Iterator traits
Iterator adaptors
Stream iterators
 
template< class In >

concept bool Readable =
    requires {
        typename ranges::value_type_t<In>;
        typename ranges::reference_t<In>;
        typename ranges::rvalue_reference_t<In>;
    } &&
    CommonReference<ranges::reference_t<In>&&, ranges::value_type_t<In>&> &&
    CommonReference<ranges::reference_t<In>&&, ranges::rvalue_reference_t<In>&&> &&

    CommonReference<ranges::rvalue_reference_t<In>&&, const ranges::value_type_t<In>&>;
(ranges TS)

The concept Readable is satisfied by types that are readable by applying operator*, such as pointers, smart pointers, and iterators.