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
VEG_INLINE constexpr Boolean (Boolean< maybe >, Unsafe) VEG_NOEXCEPT
VEG_INLINE constexpr Boolean (Boolean< maybe > b) VEG_NOEXCEPT
inline explicit VEG_NODISCARD VEG_INLINE constexpr operator bool () const VEG_NOEXCEPT

Friends

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