bsl::operator==

Return true if the specified lists have the same elements in order.

Synopsis

Declared in <bslstp_slist.h>

template<
    class _Tp,
    class _Alloc>
bool
operator==(
    slist<_Tp, _Alloc> const& _SL1,
    slist<_Tp, _Alloc> const& _SL2);

Return Value

true if the lists are equal, and false otherwise

Parameters

NameDescription
_SL1first list compared
_SL2second list compared