Pretty Good Sum Type  1.0.0
Static Public Member Functions | List of all members
pgs::recursive_union_dereference< is_recursive_wrapper, T, Ts > Struct Template Reference

Dereference the value field in a recursive_union<>. This case handles values that are not recursive_wrapper instances. More...

#include <recursive_union.hpp>

Static Public Member Functions

static constexpr T & ref (recursive_union< T, Ts... > &u)
 Produce a non-const reference to the value field of the provided union.
 
static constexpr T const & ref (recursive_union< T, Ts... > const &u)
 Produce a const reference to the value field of the provided union.
 
static constexpr T * ptr (recursive_union< T, Ts... > &u)
 Produce a non-const pointer to the value field of the provided union.
 
static constexpr T const * ptr (recursive_union< T, Ts... > const &u)
 Produce a const pointer to the value field of the provided union.
 

Detailed Description

template<bool is_recursive_wrapper, class T, class... Ts>
struct pgs::recursive_union_dereference< is_recursive_wrapper, T, Ts >

Dereference the value field in a recursive_union<>. This case handles values that are not recursive_wrapper instances.


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