Delete the move assignment operator while defaulting the other members.

Synopsis

Declared in <bslstl_variant.h>

template<
    bool t_ISCOPYCONSTRUCTIBLE,
    bool t_ISMOVECONSTRUCTIBLE,
    bool t_ISCOPYASSIGNABLE>
struct Variant_MoveAssignBase<t_ISCOPYCONSTRUCTIBLE, t_ISMOVECONSTRUCTIBLE, t_ISCOPYASSIGNABLE, false>
    : Variant_CopyAssignBase<t_ISCOPYCONSTRUCTIBLE, t_ISMOVECONSTRUCTIBLE, t_ISCOPYASSIGNABLE>

Description

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

Base Classes

Name

Description

Variant_CopyAssignBase<t_ISCOPYCONSTRUCTIBLE, t_ISMOVECONSTRUCTIBLE, t_ISCOPYASSIGNABLE>

This component‐private class has deleted copy assignment operator if (template parameter) t_ISCOPYASSIGNABLE is false.

Member Functions

Name

Description

Variant_MoveAssignBase [constructor]

Constructors

operator=

Assignment operators

Created with MrDocs