Create a Variant_Base object holding the same alternative (if any) held by the specified original.
Synopsis
Declared in <bslstl_variant.h>
Variant_Base(Variant_Base&& original);
Description
Create a Variant_Base object holding the same alternative (if any) held by the specified original. If this Variant_Base is allocator‐aware, the allocator of original is used to supply memory. If the original object is not valueless by exception, the contained value is move‐constructed from the contained value of original. All alternatives shall be move constructible.
Parameters
Name |
Description |
original |
object to move from |
Created with MrDocs