[#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); ---- == Return Value `true` if the lists differ, and `false` otherwise == Parameters [cols="1,4"] |=== | Name| Description | *__x* | left‐hand list | *__y* | right‐hand list |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#