Namespaces
Variants
Views
Actions

std::experimental::ranges::Invocable, std::experimental::ranges::RegularInvocable

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
InvocableRegularInvocable
                                        
                              
URNG concept
 
template < class F, class... Args >

concept bool Invocable =
  requires(F&& f, Args&&... args) {
    ranges::invoke(std::forward<F>(f), std::forward<Args>(args)...);
      /* not required to be equality preserving */

  };
(ranges TS)
template < class F, class... Args >
concept bool RegularInvocable = Invocable<F, Args...>;
(ranges TS)