[#BloombergLP-balcl-CommandLine-operator_assign]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balcl.adoc[balcl]::xref:BloombergLP/balcl/CommandLine.adoc[CommandLine]::operator&equals;
:relfileprefix: ../../../
:mrdocs:

Assign to this command&hyphen;line object the value of the specified `rhs` command&hyphen;line object and return a reference providing modifiable access to this object&period; The behavior is undefined unless both `rhs` and this object are valid (i&period;e&period;, `isValid()` and `rhs&period;isValid()` both return `true`)&period;

== Synopsis

Declared in `&lt;balcl&lowbar;commandline&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/balcl/CommandLine.adoc[CommandLine]&
operator&equals;(xref:BloombergLP/balcl/CommandLine.adoc[CommandLine] const& rhs);
----


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