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

Constrains the type to be a class that defines a static const value field. More...

Concept definition

template<class C>
concept vctr::is::constant = requires (const void* ptr) { ptr = &C::value; }
Constrains the type to be a class that defines a static const value field.
Definition: GenericConcepts.h:114

Detailed Description

Constrains the type to be a class that defines a static const value field.

Suitable classes are e.g. std::integral_constant and vctr::Constant.