|
mitteLib
|
#include <bin_data.hpp>
Public Member Functions | |
| template<class T , class = std::enable_if_t<std::is_same_v<T, bool>>> | |
| constexpr | explicit_bool (T v_) |
| constexpr | operator bool () const |
Public Attributes | |
| bool | v |
Structure that can only be constructed from a bool. Cannot get an int, or a const char *. This prevents sinking various values into a bool accidentally.
|
inlineconstexpr |
|
inlineexplicitconstexpr |
| bool mlab::explicit_bool::v |