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

Name

Description

_SL1

first list compared

_SL2

second list compared

Created with MrDocs