IceShard
1
A personal game engine project, with development focused on 2D/2.5D games.
Toggle main menu visibility
Loading...
Searching...
No Matches
ice
BoolType
ice::BoolType Concept Reference
#include <
ice/concept/enum_bools.hxx
>
Concept definition
template
<
typename
T>
concept
BoolType
=
BoolLogic<T>::IsEnabled
&&
requires
(T) {
{ T::Off } -> std::convertible_to<T>;
{ T::On } -> std::convertible_to<T>;
static_cast<
std::underlying_type_t<T>
>
(T::Off) == 0;
static_cast<
std::underlying_type_t<T>
>
(T::On) == 1;
}
ice::BoolType
Definition
enum_bools.hxx:18
ice::BoolLogic::IsEnabled
static constexpr bool IsEnabled
Definition
enum_bools.hxx:14
Generated by
1.18.0