| Home | Libraries | People | FAQ | More

## Concept EqualityComparable

EqualityComparable

## Description

Equality Comparable types must have `==` and `!=` operators.

## Notation

X
  A type playing the role of comparable-type in the EqualityComparable concept.
`x`, `y`
  Objects of type X

## Valid expressions

Name | Expression | Type
--- | --- | ---
Equality test | x == y | Convertible to bool
Inequality test | x != y | Convertible to bool

## Models

- int
- std::vector<int>

Last revised: , at GMT | Copyright © 2001, 2002 Indiana University Copyright © 2000, 2001 University of Notre Dame du Lac Copyright © 2000 Jeremy Siek, Lie-Quan Lee, Andrew Lumsdaine Copyright © 1996-1999 Silicon Graphics Computer Systems, Inc. Copyright © 1994 Hewlett-Packard Company

Concept CopyConstructible |  | Concept LessThanComparable