Last change
on this file since 20 was
12,
checked in by landauf, 17 years ago
|
added boost
|
-
Property svn:executable set to
*
|
File size:
896 bytes
|
Line | |
---|
1 | // (C) Copyright Jonathan Turkanis 2003. |
---|
2 | // Distributed under the Boost Software License, Version 1.0. (See accompanying |
---|
3 | // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt.) |
---|
4 | |
---|
5 | // See http://www.boost.org/libs/iostreams for documentation. |
---|
6 | |
---|
7 | #ifndef BOOST_IOSTREAMS_DETAIL_TEMPLATE_PARAMS_HPP_INCLUDED |
---|
8 | |
---|
9 | #include <boost/preprocessor/control/expr_if.hpp> |
---|
10 | #include <boost/preprocessor/control/if.hpp> |
---|
11 | #include <boost/preprocessor/repetition/enum_params.hpp> |
---|
12 | |
---|
13 | #define BOOST_IOSTREAMS_TEMPLATE_PARAMS(arity, param) \ |
---|
14 | BOOST_PP_EXPR_IF(arity, template<) \ |
---|
15 | BOOST_PP_ENUM_PARAMS(arity, typename param) \ |
---|
16 | BOOST_PP_EXPR_IF(arity, >) \ |
---|
17 | /**/ |
---|
18 | |
---|
19 | #define BOOST_IOSTREAMS_TEMPLATE_ARGS(arity, param) \ |
---|
20 | BOOST_PP_EXPR_IF(arity, <) \ |
---|
21 | BOOST_PP_ENUM_PARAMS(arity, param) \ |
---|
22 | BOOST_PP_EXPR_IF(arity, >) \ |
---|
23 | /**/ |
---|
24 | |
---|
25 | #endif // #ifndef BOOST_IOSTREAMS_DETAIL_BUFFERS_HPP_INCLUDED |
---|
Note: See
TracBrowser
for help on using the repository browser.