Delete the move constructor while defaulting the other members.

Synopsis

Declared in <bslstl_variant.h>

template<bool t_ISCOPYCONSTRUCTIBLE>
struct Variant_MoveConstructorBase<t_ISCOPYCONSTRUCTIBLE, false>
    : Variant_CopyConstructorBase<t_ISCOPYCONSTRUCTIBLE>

Description

This partial specialization is used when t_ISMOVECONSTRUCTIBLE is false; it deletes the move constructor while defaulting all other special member functions.

Base Classes

Name

Description

Variant_CopyConstructorBase<t_ISCOPYCONSTRUCTIBLE>

This component‐private class has deleted copy constructor if (template parameter) t_ISCOPYCONSTRUCTIBLE is false.

Member Functions

Name

Description

Variant_MoveConstructorBase [constructor]

Constructors

operator=

Assign to this object the value of the specified rhs object, and return a reference to this object.

Created with MrDocs