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

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

Concept definition

template<class C, class T>
concept vctr::is::constantWithType = std::same_as<T, std::remove_cvref_t<decltype (C::value)>>
Constrains the type to be a class that defines a static const value field of a certain type.
Definition: GenericConcepts.h:121

Detailed Description

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

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