Return true if __x is lexicographically less than __y.
Declared in <bslstp_slist.h>
template<
class _Tp,
class _Alloc>
bool
operator<(
slist<_Tp, _Alloc> const& __x,
slist<_Tp, _Alloc> const& __y);
true if __x < __y, and false otherwise
| Name | Description |
|---|---|
| __x | left-hand list |
| __y | right-hand list |