Name
operator!= function template — Compares for inequality
Synopsis
namespace rel_ops { template<typename T> bool operator!=(const T& a, const T& b); } template <typename T1, typename T2> bool operator!=(const pair<T1,T2>& a, const pair<T1,T2>& b);
Returns true
if a
and b
are not equal, that is, !
(a
==
b)
.
Get C++ In a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.