std::experimental::ranges::Constructible

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 parallelism 2 (parallelism TS v2)
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
                                        
                              
URNG concept
 
template < class T, class... Args >

concept bool Constructible =

  Destructible<T> && std::is_constructible<T, Args...>::value;
(ranges TS)

The Constructible concept specifies that a variable of type T can be initialized with the given set of argument types Args....

There need not be any subsumption relationship between Constructible<T, Args...> and std::is_constructible<T, Args...>::value.

See also

checks if a type has a constructor for specific arguments
(class template)