Return true if the specified lists have the same elements in order.
Declared in <bslstp_slist.h>
template<
class _Tp,
class _Alloc>
bool
operator==(
slist<_Tp, _Alloc> const& _SL1,
slist<_Tp, _Alloc> const& _SL2);
true if the lists are equal, and false otherwise
| Name | Description |
|---|---|
| _SL1 | first list compared |
| _SL2 | second list compared |