remove \r
[extl.git] / extl / container / list_selector.h
blob54fbb01c85b343e69a03810b0866613644805487
1 /* ///////////////////////////////////////////////////////////////////////
2 * File: list_selector.h
4 * Created: 08.12.07
5 * Updated: 08.12.07
7 * Brief: The list selector
9 * [<Home>]
10 * Copyright (c) 2008-2020, Waruqi All rights reserved.
11 * //////////////////////////////////////////////////////////////////// */
13 #ifndef EXTL_CONTAINER_LIST_SELECTOR_H
14 #define EXTL_CONTAINER_LIST_SELECTOR_H
16 /*!\file list_selector.h
17 * \brief The list selector
19 #ifndef __cplusplus
20 # error list_selector.h need be supported by c++.
21 #endif
23 /* ///////////////////////////////////////////////////////////////////////
24 * Includes
26 #include "basic_list.h"
28 /* ///////////////////////////////////////////////////////////////////////
29 * ::extl namespace
31 EXTL_BEGIN_NAMESPACE
33 /*!\brief list_selector class
35 * \param Val The value type
37 * \ingroup extl_group_memory
39 template<typename_param_k Val>
40 struct list_selector
42 /// \name Types
43 /// @{
44 #ifdef EXTL_TEMPLATE_CLASS_DEFAULT_ARGUMENT_SUPPORT
45 typedef basic_list<Val> list_type;
46 #else
47 typedef basic_list < Val
48 , typename_type_k allocator_selector<Val>::allocator_type
49 , typename_type_k memory_traits_selector<Val>::memory_traits_type
50 , typename_type_k initialiser_selector<Val>::initialiser_type
51 > list_type;
52 #endif /* EXTL_TEMPLATE_CLASS_DEFAULT_ARGUMENT_SUPPORT */
53 /// @}
56 /* ///////////////////////////////////////////////////////////////////////
57 * ::extl namespace
59 EXTL_END_NAMESPACE
61 /* //////////////////////////////////////////////////////////////////// */
62 #endif /* EXTL_CONTAINER_LIST_SELECTOR_H */
63 /* //////////////////////////////////////////////////////////////////// */