1 /* ///////////////////////////////////////////////////////////////////////
2 * File: non_type_wrap.h
7 * Brief: A simple envelope for non-type template parameters
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 /* ///////////////////////////////////////////////////////////////////////
18 #include "../config/config.h"
20 /* ///////////////////////////////////////////////////////////////////////
25 #ifdef EXTL_NON_TYPE_WRAP_SUPPORT
27 template<typename_param_k T
, T N
>
28 struct non_type_wrap
{};
33 struct bool_type_wrap
{};
36 struct int_type_wrap
{};
38 /* ///////////////////////////////////////////////////////////////////////
43 /* //////////////////////////////////////////////////////////////////// */
44 #endif /* EXTL_TYPE_NON_TYPE_WRAP_H */
45 /* //////////////////////////////////////////////////////////////////// */