[#bsl-operator_eq-052] = xref:bsl.adoc[bsl]::operator== :relfileprefix: ../ :mrdocs: Same as the two‐argument `operator==` for `basic_string`. == Synopsis Declared in `<bslstl_string.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class CHAR_TYPE, class CHAR_TRAITS, class ALLOC> bool operator==( xref:bsl/basic_string-0faf.adoc[basic_string<CHAR_TYPE, CHAR_TRAITS, ALLOC>] const& lhs, xref:bsl/basic_string-0faf.adoc[basic_string<CHAR_TYPE, CHAR_TRAITS, ALLOC>] const& rhs) noexcept; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#