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

Synopsis

Declared in <bslstl_variant.h>

template<
    bool t_ISCOPYCONSTRUCTIBLE,
    bool t_ISMOVECONSTRUCTIBLE,
    bool t_ISCOPYASSIGNABLE>
struct Variant_CopyAssignBase
    : Variant_MoveConstructorBase<t_ISCOPYCONSTRUCTIBLE, t_ISMOVECONSTRUCTIBLE>

Description

All other special member functions are defaulted.

Base Classes

Name

Description

Variant_MoveConstructorBase<t_ISCOPYCONSTRUCTIBLE, t_ISMOVECONSTRUCTIBLE>

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

Specializations

Name

Description

Variant_CopyAssignBase<t_ISCOPYCONSTRUCTIBLE, t_ISMOVECONSTRUCTIBLE, false>

Delete the copy assignment operator while defaulting the other members.

Derived Classes

Name

Description

Variant_MoveAssignBase

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

Variant_MoveAssignBase<t_ISCOPYCONSTRUCTIBLE, t_ISMOVECONSTRUCTIBLE, t_ISCOPYASSIGNABLE, false>

Delete the move assignment operator while defaulting the other members.

Created with MrDocs