Template Struct Boolean

Struct Documentation

template<Ternary T>
struct Boolean

Public Types

using type = meta::constant<Ternary, T>

Public Functions

constexpr Boolean () VEG_NOEXCEPT=default
constexpr VEG_INLINE Boolean (Boolean< maybe >, Unsafe) VEG_NOEXCEPT
constexpr VEG_INLINE Boolean (Boolean< maybe > b) VEG_NOEXCEPT
inline explicit VEG_NODISCARD constexpr VEG_INLINE operator bool () const VEG_NOEXCEPT

Friends

inline friend VEG_NODISCARD constexpr VEG_INLINE friend auto operator! (Boolean) VEG_NOEXCEPT -> Boolean< T==yes ? no :yes >