|
RPNX::DataStructures
Header-only C++ data structures and supporting utilities.
|
Visitor that assigns its argument into a target variant. More...
#include <variant.hpp>
Public Member Functions | |
| variant_convert_to (basic_variant< A, Ts... > &val) | |
| Binds the assignment target. | |
| template<typename T2> | |
| bool | operator() (T2 &&other) const |
| Assigns a visited value into the target. | |
Visitor that assigns its argument into a target variant.
| A | Target allocator type. |
| Ts | Target alternative types. |
|
inline |
Binds the assignment target.
| val | Variant updated by visitor calls. |
|
inline |
Assigns a visited value into the target.
| T2 | Visited value type. |
| other | Value to forward. |
true.