blob: aeaaff3e3e3326f1a7cae4351cff8f40e5787c11 [file] [log] [blame]
Jeff Thompson86b6d642013-10-17 15:01:56 -07001// (C) Copyright 2008 CodeRage, LLC (turkanis at coderage dot com)
2// (C) Copyright 2003-2007 Jonathan Turkanis
3// Distributed under the Boost Software License, Version 1.0. (See accompanying
4// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt.)
5
6// See http://www.boost.org/libs/iostreams for documentation.
7
8#ifndef NDNBOOST_IOSTREAMS_DETAIL_TEMPLATE_PARAMS_HPP_INCLUDED
9
10#include <ndnboost/preprocessor/control/expr_if.hpp>
11#include <ndnboost/preprocessor/control/if.hpp>
12#include <ndnboost/preprocessor/repetition/enum_params.hpp>
13
14#define NDNBOOST_IOSTREAMS_TEMPLATE_PARAMS(arity, param) \
15 NDNBOOST_PP_EXPR_IF(arity, template<) \
16 NDNBOOST_PP_ENUM_PARAMS(arity, typename param) \
17 NDNBOOST_PP_EXPR_IF(arity, >) \
18 /**/
19
20#define NDNBOOST_IOSTREAMS_TEMPLATE_ARGS(arity, param) \
21 NDNBOOST_PP_EXPR_IF(arity, <) \
22 NDNBOOST_PP_ENUM_PARAMS(arity, param) \
23 NDNBOOST_PP_EXPR_IF(arity, >) \
24 /**/
25
26#endif // #ifndef NDNBOOST_IOSTREAMS_DETAIL_BUFFERS_HPP_INCLUDED