remove \r
[extl.git] / extl / type / non_type_wrap.h
blob99f6ea35f6ff38bdb0f150c2a1df3c67377fbc59
1 /* ///////////////////////////////////////////////////////////////////////
2 * File: non_type_wrap.h
4 * Created: 08.07.21
5 * Updated: 08.07.21
7 * Brief: A simple envelope for non-type template parameters
9 * [<Home>]
10 * Copyright (c) 2008-2020, Waruqi All rights reserved.
11 * //////////////////////////////////////////////////////////////////// */
12 #ifndef EXTL_TYPE_NON_TYPE_WRAP_H
13 #define EXTL_TYPE_NON_TYPE_WRAP_H
15 /* ///////////////////////////////////////////////////////////////////////
16 * Includes
18 #include "../config/config.h"
20 /* ///////////////////////////////////////////////////////////////////////
21 * ::extl namespace
23 EXTL_BEGIN_NAMESPACE
25 #ifdef EXTL_NON_TYPE_WRAP_SUPPORT
27 template<typename_param_k T, T N>
28 struct non_type_wrap{};
30 #endif
32 template<e_bool_t B>
33 struct bool_type_wrap{};
35 template<e_int_t B>
36 struct int_type_wrap{};
38 /* ///////////////////////////////////////////////////////////////////////
39 * ::extl namespace
41 EXTL_END_NAMESPACE
43 /* //////////////////////////////////////////////////////////////////// */
44 #endif /* EXTL_TYPE_NON_TYPE_WRAP_H */
45 /* //////////////////////////////////////////////////////////////////// */