OGLplus  (0.59.0) a C++ wrapper for rendering APIs

eagine::no_enum_value< T, Tag > Struct Template Reference

Class representing undefined value of a (typically C-API) symbolic constant. More...

#include <eagine/enum_class.hpp>

Public Types

using value_type = T
 The constant or enumerator value type.
 
using tag_type = Tag
 The tag type specified as template argument.
 

Public Member Functions

constexpr operator T () const noexcept
 Explicit conversion to the value type.
 
constexpr operator bool () const noexcept
 Indicates whether the value is valid or not (always false here).
 

Detailed Description

template<typename T, typename Tag = nothing_t>
struct eagine::no_enum_value< T, Tag >

Class representing undefined value of a (typically C-API) symbolic constant.

Template Parameters
Tthe constant or enumerator value type.
Taga tag type that can be used to customize some operations.
See also
enum_class
enum_value
any_enum_value
opt_enum_value

The documentation for this struct was generated from the following file:

Copyright © 2015-2021 Matúš Chochlík.
<chochlik -at -gmail.com>
Documentation generated on Tue Apr 13 2021 by Doxygen (version 1.8.17).