xtd 0.2.0
iterator.hpp File Reference
#include <iterator>
#include <tuple>
#include <type_traits>

Definition

Contains iteraors aliases.

Go to the source code of this file.

Namespaces

namespace  xtd
 The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
 
namespace  xtd::collections
 The xtd::collections namespace contains interfaces and classes that define various collections of objects, such as lists, queues, bit arrays, hash tables and dictionaries.
 
namespace  xtd::collections::generic
 The xtd::collections::generic namespace contains interfaces and classes that define generic collections, which allow users to create strongly typed collections that provide better type safety and performance than non-generic strongly typed collections.
 
namespace  xtd::collections::generic::helpers
 The xtd::collections::generic::helpers namespace contains helpers for generic collections, sush as comparer, equator an hasher structs.
 

Aliases

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.