Pretty Good Sum Type
1.0.0
|
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. | |
Dereference the value field in a recursive_union<>
. This case handles values that are not recursive_wrapper
instances.