codex
Loading...
Searching...
No Matches
codex::refl::detail::to_any< auto > Struct Template Reference

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)
 

Detailed Description

template<auto>
struct codex::refl::detail::to_any< auto >

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.

Member Function Documentation

◆ operator T() [1/2]

template<auto >
template<typename T >
codex::refl::detail::to_any< auto >::operator T ( void )
constexpr

◆ operator T() [2/2]

template<auto >
template<typename T >
codex::refl::detail::to_any< auto >::operator T ( void )
constexpr

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