Notitie
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen u aan te melden of de directory te wijzigen.
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen de mappen te wijzigen.
Tests if the forward list object on the left side of the operator is equal to the forward list object on the right side.
bool operator==(
const forward_list <Type, Allocator>& _Left,
const forward_list <Type, Allocator>& _Right
);
Parameters
Parameter |
Description |
|---|---|
_Left |
An object of type forward_list. |
_Right |
An object of type forward_list. |
Remarks
This template function overloads operator== to compare two objects of template class forward_list. The function returns distance(_Left.begin(), end()) == distance(_Right.begin(),_Right.end()) && equal(_Left. begin(),_Left. end(),_Right.begin()).
Requirements
Header: <forward_list>
Namespace: std