Pretty Good Sum Type
1.0.0
|
Dereference the value field in a recursive_union<>
. This specialization handles values that are recursive_wrapper
instances.
More...
#include <recursive_union.hpp>
Static Public Member Functions | |
static auto | ref (recursive_union< T, Ts... > &u) -> decltype(u.v.get()) |
Produce a non-const reference to the object referred to by the value field of the provided union. | |
static auto | ref (recursive_union< T, Ts... > const &u) -> decltype(u.v.get()) |
Produce a const reference to the object referred to by the value field of the provided union. | |
static constexpr auto | ptr (recursive_union< T, Ts... > &u) -> decltype(u.v.get_pointer()) |
Produce a non-const pointer to the object referred to by the value field of the provided union. | |
static constexpr auto | ptr (recursive_union< T, Ts... > const &u) -> decltype(u.v.get_pointer()) |
Produce a const pointer to the object referred to by the value field of the provided union. | |
Dereference the value field in a recursive_union<>
. This specialization handles values that are recursive_wrapper
instances.