template<class key_t>
struct xtd::collections::generic::helpers::equator< key_t >
Implements a function object for performing comparisons. Unless specialised, invokes operator== on type type_t. xtd::equator with the key and the value strongly typed to be std::any.
template<class key_t>
Implements a function object for performing comparisons. Unless specialised, invokes operator== on ty...
Definition equator.hpp:38
- Header
#include <xtd/collections/generic/equator>
- Namespace
- xtd::collections::generic
- Library
- xtd.core
- Examples
- The following example show how to use xtd::collections::generic::helpers::equator with
std::unordered_map
.
key_values.insert({{1971, 1, 5}, "Birth date"});
std::allocator< type_t > allocator
Represent an allocator alias.
Definition allocator.hpp:35