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.
|
template<typename key_t , typename value_t > |
using | dictionary = std::unordered_map< key_t, value_t, helpers::hasher< key_t >, helpers::equator< key_t >, helpers::allocator< std::pair< const key_t, value_t > > > |
| Represents a collection of keys and values.
|
|
template<typename type_t > |
using | hash_set = std::unordered_set< type_t, helpers::hasher< type_t >, helpers::equator< type_t >, helpers::allocator< type_t > > |
| Represents a set of values.
|
|
template<typename key_t , typename value_t > |
using | key_value_pair = std::pair< key_t, value_t > |
| Defines a key/value pair that can be set or retrieved.
|
|
template<typename key_t , typename value_t > |
using | sorted_dictionary = std::map< key_t, value_t, helpers::comparer< key_t >, helpers::allocator< std::pair< const key_t, value_t > > > |
| Represents a collection of key/value pairs that are sorted on the key.
|
|
template<typename type_t > |
using | sorted_set = std::set< type_t, helpers::comparer< type_t >, helpers::allocator< type_t > > |
| Represents a collection of objects that is maintained in sorted order.
|
|