Namespaces
Variants
Views
Actions

Difference between revisions of "cpp/header/compare"

From cppreference.com
< cpp‎ | header
m (- reason: miss constexpr & noexcept)
m (+)
Line 11: Line 11:
 
{{dsc inc | cpp/utility/compare/dsc weak_ordering}}
 
{{dsc inc | cpp/utility/compare/dsc weak_ordering}}
 
{{dsc inc | cpp/utility/compare/dsc strong_ordering}}
 
{{dsc inc | cpp/utility/compare/dsc strong_ordering}}
 +
{{dsc end}}
 +
===Functions===
 +
{{dsc begin}}
 +
{{dsc inc | cpp/utility/compare/dsc named_comparison_functions}}
 +
{{dsc inc | cpp/utility/compare/dsc common_comparison_category}}
 +
{{dsc inc | cpp/utility/compare/dsc strong_order}}
 +
{{dsc inc | cpp/utility/compare/dsc weak_order}}
 +
{{dsc inc | cpp/utility/compare/dsc partial_order}}
 +
{{dsc inc | cpp/utility/compare/dsc strong_equal}}
 +
{{dsc inc | cpp/utility/compare/dsc weak_equal}}
 
{{dsc end}}
 
{{dsc end}}

Revision as of 20:58, 29 November 2017

 
 
Standard library headers
 

This header is part of the general utility library.

Classes

Template:cpp/utility/compare/dsc weak equalityTemplate:cpp/utility/compare/dsc strong equality
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]

Functions

Template:cpp/utility/compare/dsc strong equalTemplate:cpp/utility/compare/dsc weak equal
named comparison functions
(function) [edit]
the strongest comparison category to which all of the given types can be converted
(class template) [edit]
performs 3-way comparison and produces a result of type std::strong_ordering
(customization point object)[edit]
performs 3-way comparison and produces a result of type std::weak_ordering
(customization point object)[edit]
performs 3-way comparison and produces a result of type std::partial_ordering
(customization point object)[edit]