Contains generic collections helpers definitions.
Classes | |
struct | xtd::collections::generic::helpers::comparer< type_t > |
Implements a function object for compare data. More... | |
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. More... | |
struct | xtd::collections::generic::helpers::hasher< key_t > |
Implements a function object for hashing data. More... | |
struct | xtd::collections::generic::helpers::lesser< type_t > |
Implements a function object for compare data. More... | |
class | xtd::collections::generic::helpers::wrap_pointer_iterator< value_t, iterator_tag_t > |
Represents a wrap pointer iterator. More... | |
Typedefs | |
template<class value_t , class iterator_tag_t = std::random_access_iterator_tag> | |
using | xtd::collections::generic::helpers::wrap_pointer_reverse_iterator = std::reverse_iterator< wrap_pointer_iterator< value_t, iterator_tag_t > > |
Represents a wrap pointer reverse iterator. | |
Aliases | |
template<class type_t > | |
using | xtd::collections::generic::helpers::allocator = std::allocator< type_t > |
Represent an allocator alias. | |
template<class input_iterator_t > | |
using | xtd::collections::generic::helpers::iterator_value_t = typename std::iterator_traits< input_iterator_t >::value_type |
Represents the value iterator type. | |
template<class input_iterator_t > | |
using | xtd::collections::generic::helpers::iterator_key_t = std::remove_const_t< std::tuple_element_t< 0, iterator_value_t< input_iterator_t > > > |
Represents the key iterator type. | |
template<class input_iterator_t > | |
using | xtd::collections::generic::helpers::iterator_mapped_t = std::tuple_element_t< 1, iterator_value_t< input_iterator_t > > |
Represents the mapped iterator type. | |
template<class input_iterator_t > | |
using | xtd::collections::generic::helpers::iterator_to_allocator_t = std::pair< std::add_const_t< iterator_key_t< input_iterator_t > >, iterator_mapped_t< input_iterator_t > > |
Represents the iterator to allocator type. | |
using xtd::collections::generic::helpers::allocator = typedef std::allocator<type_t> |
#include <xtd.core/include/xtd/collections/generic/helpers/allocator.hpp>
Represent an allocator alias.
xtd::collection::generic::list
. using xtd::collections::generic::helpers::iterator_value_t = typedef typename std::iterator_traits<input_iterator_t>::value_type |
#include <xtd.core/include/xtd/collections/generic/helpers/iterator.hpp>
Represents the value iterator type.
using xtd::collections::generic::helpers::iterator_key_t = typedef std::remove_const_t<std::tuple_element_t<0, iterator_value_t<input_iterator_t> >> |
#include <xtd.core/include/xtd/collections/generic/helpers/iterator.hpp>
Represents the key iterator type.
using xtd::collections::generic::helpers::iterator_mapped_t = typedef std::tuple_element_t<1, iterator_value_t<input_iterator_t> > |
#include <xtd.core/include/xtd/collections/generic/helpers/iterator.hpp>
Represents the mapped iterator type.
using xtd::collections::generic::helpers::iterator_to_allocator_t = typedef std::pair<std::add_const_t<iterator_key_t<input_iterator_t> >, iterator_mapped_t<input_iterator_t> > |
#include <xtd.core/include/xtd/collections/generic/helpers/iterator.hpp>
Represents the iterator to allocator type.
using xtd::collections::generic::helpers::wrap_pointer_reverse_iterator = typedef std::reverse_iterator<wrap_pointer_iterator<value_t, iterator_tag_t> > |
#include <xtd.core/include/xtd/collections/generic/helpers/wrap_pointer_reverse_iterator.hpp>
Represents a wrap pointer reverse iterator.