Create a Variant_SwapVisitor object that, when invoked, will swap the visited alternative with the active alternative of the specified variant.
Declared in <bslstl_variant.h>
explicit
Variant_SwapVisitor(t_VARIANT* variant);
| Name | Description |
|---|---|
| variant | variant whose active alternative is swapped |