template<class type_t = void>
struct xtd::collections::generic::helpers::lesser< type_t >
Implements a function object for compare data.
Implements a function object for compare data.
Definition lesser.hpp:38
- Header
#include <xtd/collections/generic/helpers/lesser>
- Namespace
- xtd::collections::generic::helpers
- Library
- xtd.core
- Examples
- The following example show how to use xtd::collections::generic::helpers::lesser with
std::unordered_map
.
key_values.insert({{1971, 1, 5}, "Birth date"});
std::allocator< type_t > allocator
Represent an allocator alias.
Definition allocator.hpp:38
◆ first_argument_type
template<class type_t = void>
Represents the first argument type.
◆ second_argument_type
template<class type_t = void>
Represents the second argument type.
◆ result_type
template<class type_t = void>
Represents the result type.
◆ operator()()
template<class 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/lesser.hpp