Go to the documentation of this file.
9 #ifndef EAGINE_BOOL_AGGREGATE_HPP
10 #define EAGINE_BOOL_AGGREGATE_HPP
19 constexpr
auto operator()(
bool b =
true) noexcept -> auto& {
25 constexpr
operator bool() const noexcept {
35 #endif // EAGINE_BOOL_AGGREGATE_HPP
Common code is placed in this namespace.
Definition: eagine.hpp:21
Class storing initially false value and logically or-ing other values.
Definition: bool_aggregate.hpp:16
constexpr auto operator()(bool b=true) noexcept -> auto &
Logically or-s the stored state with the specified argument.
Definition: bool_aggregate.hpp:19