Line | |
---|
1 | // -------------------------------------
|
---|
2 | //
|
---|
3 | // (C) Copyright Gennaro Prota 2003.
|
---|
4 | //
|
---|
5 | // Distributed under the Boost Software License, Version 1.0.
|
---|
6 | // (See accompanying file LICENSE_1_0.txt or copy at
|
---|
7 | // http://www.boost.org/LICENSE_1_0.txt)
|
---|
8 | //
|
---|
9 | // ------------------------------------------------------
|
---|
10 |
|
---|
11 | #ifndef BOOST_NON_TYPE_HPP_GP_20030417
|
---|
12 | #define BOOST_NON_TYPE_HPP_GP_20030417
|
---|
13 |
|
---|
14 |
|
---|
15 | namespace boost {
|
---|
16 |
|
---|
17 | // Just a simple "envelope" for non-type template parameters. Useful
|
---|
18 | // to work around some MSVC deficiencies.
|
---|
19 |
|
---|
20 | template <typename T, T n>
|
---|
21 | struct non_type { };
|
---|
22 |
|
---|
23 |
|
---|
24 | }
|
---|
25 |
|
---|
26 |
|
---|
27 | #endif // include guard
|
---|
Note: See
TracBrowser
for help on using the repository browser.