Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:38:50

0001 // (C) Copyright 2008 CodeRage, LLC (turkanis at coderage dot com)
0002 // (C) Copyright 2003-2007 Jonathan Turkanis
0003 // Distributed under the Boost Software License, Version 1.0. (See accompanying
0004 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt.)
0005 
0006 // See http://www.boost.org/libs/iostreams for documentation.
0007 
0008 #ifndef BOOST_IOSTREAMS_DETAIL_TEMPLATE_PARAMS_HPP_INCLUDED
0009 
0010 #include <boost/preprocessor/control/expr_if.hpp>
0011 #include <boost/preprocessor/control/if.hpp>
0012 #include <boost/preprocessor/repetition/enum_params.hpp>
0013 
0014 #define BOOST_IOSTREAMS_TEMPLATE_PARAMS(arity, param) \
0015     BOOST_PP_EXPR_IF(arity, template<) \
0016     BOOST_PP_ENUM_PARAMS(arity, typename param) \
0017     BOOST_PP_EXPR_IF(arity, >) \
0018     /**/
0019 
0020 #define BOOST_IOSTREAMS_TEMPLATE_ARGS(arity, param) \
0021     BOOST_PP_EXPR_IF(arity, <) \
0022     BOOST_PP_ENUM_PARAMS(arity, param) \
0023     BOOST_PP_EXPR_IF(arity, >) \
0024     /**/
0025 
0026 #endif // #ifndef BOOST_IOSTREAMS_DETAIL_BUFFERS_HPP_INCLUDED