xtd 0.2.0
__list_definition.hpp
Go to the documentation of this file.
1
4#pragma once
5#include <cstddef>
6
8namespace xtd {
10 namespace collections {
12 namespace generic {
23 template<class type_t>
24 using type_to_list_t = typename std::conditional<std::is_same<bool, type_t>::value, char, type_t>::type;
25
27 template<class type_t, class allocator_t = xtd::collections::generic::helpers::allocator<type_to_list_t<type_t>>>
28 class list;
30 }
31 }
32}
Represents a strongly typed list of objects that can be accessed by index. Provides methods to search...
Definition list.hpp:80
typename std::conditional< std::is_same< bool, type_t >::value, char, type_t >::type type_to_list_t
Represents the type to list type.
Definition __list_definition.hpp:24
std::type_info type
Stores information about a type.
Definition type.hpp:23
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.hpp:10