[#BloombergLP-bslstl-Variant_CopyAssignBase-0c]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::xref:BloombergLP/bslstl/Variant_CopyAssignBase-08.adoc[Variant&lowbar;CopyAssignBase]&lt;t&lowbar;ISCOPYCONSTRUCTIBLE, t&lowbar;ISMOVECONSTRUCTIBLE, false&gt;
:relfileprefix: ../../
:mrdocs:

Delete the copy assignment operator while defaulting the other members&period;

== Synopsis

Declared in `&lt;bslstl&lowbar;variant&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    bool t&lowbar;ISCOPYCONSTRUCTIBLE,
    bool t&lowbar;ISMOVECONSTRUCTIBLE&gt;
struct xref:BloombergLP/bslstl/Variant_CopyAssignBase-08.adoc[Variant&lowbar;CopyAssignBase]&lt;t&lowbar;ISCOPYCONSTRUCTIBLE, t&lowbar;ISMOVECONSTRUCTIBLE, false&gt;
    : xref:BloombergLP/bslstl/Variant_MoveConstructorBase-01.adoc[Variant&lowbar;MoveConstructorBase&lt;t&lowbar;ISCOPYCONSTRUCTIBLE, t&lowbar;ISMOVECONSTRUCTIBLE&gt;]
----

== Description

This partial specialization is used when `t&lowbar;ISCOPYASSIGNABLE` is `false`&semi; it deletes the copy assignment operator while defaulting all other special member functions&period;

== Base Classes

[cols="1,4"]
|===
| Name| Description
| `xref:BloombergLP/bslstl/Variant_MoveConstructorBase-01.adoc[Variant&lowbar;MoveConstructorBase&lt;t&lowbar;ISCOPYCONSTRUCTIBLE, t&lowbar;ISMOVECONSTRUCTIBLE&gt;]`
| This component&hyphen;private class has deleted move constructor if (template parameter) `t&lowbar;ISMOVECONSTRUCTIBLE` is `false`&period;
|===

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bslstl/Variant_CopyAssignBase-0c/2constructor-0d.adoc[`Variant&lowbar;CopyAssignBase`]         [.small]#[constructor]#
| Constructors
| xref:BloombergLP/bslstl/Variant_CopyAssignBase-0c/operator_assign-05.adoc[`operator&equals;`] 
| Assignment operators
|===



[.small]#Created with https://www.mrdocs.com[MrDocs]#
