not_eq operator

   
not_eq operator Inequality operator

  equality-expr  :=  equality-expr  !=  relational-expr   equality-expr  not_eq  relational-expr  

The not_eq operator compares two expressions for inequality. It returns true if the operands are different or false if they are the same. The not_eq keyword is interchangeable with the != token. Note that there is no keyword equivalent for the == operator.

See Also

expression , Chapter 3, <ciso646>

   


C++ in a Nutshell
C++ in a Nutshell
ISBN: 059600298X
EAN: 2147483647
Year: 2005
Pages: 270
Authors: Ray Lischner

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net