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

eagine::opt_enum_value< T, ClassList, Tag > Struct Template Reference

Class holding optional value of a (typically C-API) symbolic constant. More...

#include <eagine/enum_class.hpp>

Detailed Description

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

Class holding optional value of a (typically C-API) symbolic constant.

Template Parameters
Tthe constant or enumerator value type.
ClassLista list of enum_class specializations to which the value "belongs" and can be converted to.
Taga tag type that can be used to customize some operations.
See also
enum_class
enum_value
any_enum_value
no_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).