KUMI v5.0.0
Gorgeous Garnet
Loading...
Searching...
No Matches
kumi::concepts::power_type Concept Reference

Concept specifying a type follows the Power Type semantic. More...

#include <kumi/utils/concepts.hpp>

Detailed Description

Concept specifying a type follows the Power Type semantic.

A type T models kumi::concepts::power_type if it models kumi::concepts::product_type and contains the following aliases.

  • typename T::value_type;
  • typename T::reference;
  • typename T::const_reference;

Example types:

Concept definition

template<typename T>
Concept specifying a type follows the Power Type semantic.
Definition concepts.hpp:113
Concept specifying a type follows the Product Type semantic.
Definition concepts.hpp:77
constexpr bool is_power_type_v
Opt-in traits for types behaving like a kumi::power_type.
Definition traits.hpp:98