IceShard 1
A personal game engine project, with development focused on 2D/2.5D games.
Loading...
Searching...
No Matches
enum_flags.hxx File Reference
#include <ice/types.hxx>
#include <type_traits>

Go to the source code of this file.

Classes

struct  ice::FlagLogic< T >

Namespaces

namespace  ice
 SPDX-License-Identifier: MIT.

Concepts

concept  ice::FlagType
concept  ice::FlagAllValue

Functions

template<ice::FlagType T>
constexpr auto ice::operator| (T left, T right) noexcept -> T
template<ice::FlagType T>
constexpr auto ice::operator|= (T &left, T right) noexcept -> T &
template<ice::FlagType T>
constexpr auto ice::operator& (T left, T right) noexcept -> T
template<ice::FlagType T>
constexpr auto ice::operator&= (T &left, T right) noexcept -> T &
template<ice::FlagType T>
constexpr auto ice::operator~ (T left) noexcept -> T
template<ice::FlagType T>
constexpr bool ice::has_all (T value, T expected_flags) noexcept
template<ice::FlagType T>
constexpr bool ice::has_any (T value, T expected_flags) noexcept
template<ice::FlagType T>
constexpr bool ice::has_none (T value, T expected_flags) noexcept