[#bsl-operator_eq-0a7] = xref:bsl.adoc[bsl]::operator== :relfileprefix: ../ :mrdocs: Return `true` if the specified lists have the same elements in order. == Synopsis Declared in `<bslstp_slist.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class _Tp, class _Alloc> bool operator==( xref:bsl/slist.adoc[slist<_Tp, _Alloc>] const& _SL1, xref:bsl/slist.adoc[slist<_Tp, _Alloc>] const& _SL2); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#