tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
etl::common_with Concept Reference

#include <common_with.hpp>

Concept definition

template<typename T, typename U>
concept etl::common_with =
same_as<common_type_t<T, U>, common_type_t<U, T>> &&
requires {
static_cast<common_type_t<T, U>>(declval<T>());
static_cast<common_type_t<T, U>>(declval<U>());
} &&
Definition common_reference_with.hpp:15
Definition common_with.hpp:18
The concept same_as<T, U> is satisfied if and only if T and U denote the same type....
Definition same_as.hpp:20
typename common_reference< T... >::type common_reference_t
Definition common_reference.hpp:49
The class template bitset represents a fixed-size sequence of Bits bits. Bitsets can be manipulated b...
Definition bitset.hpp:23