Partager via


operator> (<forward_list>)

Tests if the forward list object on the left side of the operator is greater than 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.

Return Value

true if the list on the left side of the operator is greater than the list on the right side of the operator; otherwise false.

Remarks

This template function returns _Right < _Left.

Requirements

Header: <forward_list>

Namespace: std

See Also

Reference

<forward_list>