[#bsl-operator_lt-05] = xref:bsl.adoc[bsl]::operator< :relfileprefix: ../ :mrdocs: Return `true` if `__x` is lexicographically less than `__y`. == 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]#