Namespaces
Variants
Views
Actions

Standard library header <compare>

From cppreference.com
< cpp‎ | header
 
 
 

This header is part of the general utility library.

[edit] Classes

the result type of 3-way comparison that supports only equality/inequality and is not substitutable
(class) [edit]
the result type of 3-way comparison that supports only equality/inequality and is substitutable
(class) [edit]
the result type of 3-way comparison that supports all 6 operators, is not substitutable, and allows incomparable values
(class) [edit]
the result type of 3-way comparison that supports all 6 operators and is not substitutable
(class) [edit]
the result type of 3-way comparison that supports all 6 operators and is substitutable
(class) [edit]
the strongest comparison category to which all of the given types can be converted
(class template) [edit]

[edit] Functions

named comparison functions
(function) [edit]
performs 3-way comparison and produces a result of type std::strong_ordering
(function template) [edit]
performs 3-way comparison and produces a result of type std::weak_ordering
(function template) [edit]
performs 3-way comparison and produces a result of type std::partial_ordering
(function template) [edit]
performs 3-way comparison and produces a result of type std::strong_equality
(function template) [edit]
performs 3-way comparison and produces a result of type std::weak_equality
(function template) [edit]