Standard C++ Library Class Reference
Click on the banner to return to the Class Reference home page.
©Copyright 1996 Rogue Wave Software
operator!=, operator>, operator<=, operator>=
Utility Operators
Summary
Operators for the C++ Standard Template Library
Contents
Synopsis●
Description●
Synopsis
#include <utility>
template <class T>
bool operator!= (const T&, const T&);
template <class T>
bool operator> (const T&, const T&);
template <class T>
bool operator<= (const T&, const T&);
template <class T>
bool operator>= (const T&, const T&);
Description
To avoid redundant definitions of operator!= out of operator== and of operators >, <=, and >=
out of operator<, the library provides these definitions:
operator!= returns !(x==y),
operator> returns y<x,
operator<= returns !(y<x), and