template<typename type_t = void>
struct xtd::collections::generic::helpers::comparer< type_t >
Implements a function object for compare data. 
Implements a function object for compare data.
Definition comparer.hpp:36
 
  - Header
 #include <xtd/collections/comparer
  
- Namespace
 - xtd::collections::generic 
 
- Library
 - xtd.core
 
- Examples
 - The following example show how to use xtd::collections::generic::helpers::comparer 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
 
   
 | 
| constexpr bool  | operator() (const type_t &lhs, const type_t &rhs) const | 
|   | Serves as a hash function for a specified key with a particular type (type_t).  
  | 
|   | 
◆ operator()()
template<typename type_t  = void> 
 
Serves as a hash function for a specified key with a particular type (type_t). 
- Parameters
 - 
  
  
 
- Returns
 - A hash code for the spesified key. 
 
 
 
The documentation for this struct was generated from the following file:
- xtd.core/include/xtd/collections/generic/helpers/comparer.hpp