remove \r
[extl.git] / extl / container / config / support.h
blob3ef3bf133b4c866085a67181b3408a27d615fd96
1 /* ///////////////////////////////////////////////////////////////////////
2 * File: support.h
4 * Created: 08.11.20
5 * Updated: 08.11.20
7 * Brief: The Container Library Support
9 * [<Home>]
10 * Copyright (c) 2008-2020, Waruqi All rights reserved.
11 * //////////////////////////////////////////////////////////////////// */
13 /* //////////////////////////////////////////////////////////////////// */
14 #ifndef EXTL_CONTAINER_CONFIG_SUPPORT_H
15 #define EXTL_CONTAINER_CONFIG_SUPPORT_H
17 #ifndef EXTL_CONTAINER_CONFIG_H
18 # error This file must be included of extl\container\config\config.h
19 #endif
21 #ifndef EXTL_TYPE_CONFIG_H
22 # include "../type/config/config.h"
23 #endif
24 /* ///////////////////////////////////////////////////////////////////////
25 * Compatibility
28 /* tuple2 support */
29 #ifdef EXTL_CONTAINER_TUPLE2_SUPPORT
30 # undef EXTL_CONTAINER_TUPLE2_SUPPORT
31 #endif
33 #ifdef EXTL_TYPE_TRAITS_CALL_TRAITS_SUPPORT
34 # define EXTL_CONTAINER_TUPLE2_SUPPORT
35 #endif
37 /* tuple support */
38 #ifdef EXTL_CONTAINER_TUPLE_SUPPORT
39 # undef EXTL_CONTAINER_TUPLE_SUPPORT
40 #endif
42 #if defined(EXTL_0x_VARIADIC_TEMPLATE_SUPPORT) || \
43 (defined(EXTL_FUNCTION_TEMPLATE_NON_TYPE_PARAM_SUPPORT) /* Watcom */ && \
44 !defined(EXTL_COMPILER_IS_VECTORC) && \
45 EXTL_WORKAROUND_BORLAND(!=, 0x551)) // Could not find a match for tuple<>::get<N>() when N >= 2
46 # define EXTL_CONTAINER_TUPLE_SUPPORT
47 #endif
49 /* fixed_marray support */
50 #ifdef EXTL_CONTAINER_FIXED_MARRAY_SUPPORT
51 # undef EXTL_CONTAINER_FIXED_MARRAY_SUPPORT
52 #endif
54 #if defined(EXTL_MEMBER_TEMPLATE_CLASS_SUPPORT)
55 # define EXTL_CONTAINER_FIXED_MARRAY_SUPPORT
56 #endif
58 /* basic_net support */
59 #ifdef EXTL_CONTAINER_NET_SUPPORT
60 # undef EXTL_CONTAINER_NET_SUPPORT
61 #endif
63 #if defined(EXTL_MEMBER_TEMPLATE_CLASS_SUPPORT)
64 # define EXTL_CONTAINER_NET_SUPPORT
65 #endif
67 /* //////////////////////////////////////////////////////////////////// */
68 #endif /* EXTL_CONTAINER_CONFIG_SUPPORT_H */
69 /* //////////////////////////////////////////////////////////////////// */