dot-xx
A personal collection of small C++ modules
Loading...
Searching...
No Matches
dxx::math::container_traits::constructible Concept Referenceexport

Checks if the library knows how to construct a vector container from a runtime size value. More...

Concept definition

template<typename V>
concept constructible = requires (uz size) {
{ Traits<V>::construct(size) } -> std::same_as<V>;
}
Checks if the library knows how to construct a vector container from a runtime size value.
Definition container_traits.xx:159
Different types of sizes the vector container types can have from the libraries' perspective.
Definition container_traits.xx:25
static constexpr V construct(uz size)
Construct the vector of specified size.
Definition container_traits.xx:118

Detailed Description

Checks if the library knows how to construct a vector container from a runtime size value.