[#bsl-operator_not_eq-04] = xref:bsl.adoc[bsl]::operator!= :relfileprefix: ../ :mrdocs: Return `true` if the specified lists do not contain the same elements. == 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& __x, xref:bsl/slist.adoc[slist<_Tp, _Alloc>] const& __y); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#