codex
|
Structure which can be ostensibly converted to any other. More...
#include <fields.hpp>
Public Member Functions | |
template<typename T > | |
constexpr | operator T (void) |
template<typename T > | |
constexpr | operator T (void) |
Structure which can be ostensibly converted to any other.
Used in the implementation of codex::refl::field_count, where it is placed in an aggregate construction such as T{to_any<…>{}...}
. The conversion operation, much like std::declval
, is purely declarative and never implemented.
|
constexpr |
|
constexpr |