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

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

Concept definition

template<class T, class ElementType>
concept vctr::is::suitableInitializerFunctionForElementType = suitableInitializerFunction<T> && std::constructible_from<ElementType, std::invoke_result_t<T, size_t>>
Constrains the type to be a function suitable for initializing the nth element of a Vctr with a given...
Definition: ContainerAndExpressionConcepts.h:351
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 with a given ElementType, that is, it returns an element for a given index passed as size_t argument.