VCTR
Loading...
Searching...
No Matches
vctr::is::suitableInitializerFunction Concept Reference

Constrains the type to be a function suitable for initializing the nth element of a Vctr, that is, it returns an element for a given index passed as size_t argument. More...

Concept definition

template<class T>
concept vctr::is::suitableInitializerFunction = std::invocable<T, size_t> && ! std::same_as<void, std::invoke_result_t<T, size_t>>
Constrains the type to be a function suitable for initializing the nth element of a Vctr,...
Definition: ContainerAndExpressionConcepts.h:345

Detailed Description

Constrains the type to be a function suitable for initializing the nth element of a Vctr, that is, it returns an element for a given index passed as size_t argument.