diff options
author | Remko Tronçon <git@el-tramo.be> | 2010-02-11 12:14:00 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2010-02-11 12:14:00 (GMT) |
commit | 0efa7c32aaf21a29b42b5926cc116007056843be (patch) | |
tree | 882f663a5dd0e65694bf6077b71086dd77fd7ff8 /3rdParty/Boost/boost/typeof/encode_decode_params.hpp | |
parent | 1d20eabbc32274b491b4c2bedf73d19933d97bfd (diff) | |
download | swift-contrib-0efa7c32aaf21a29b42b5926cc116007056843be.zip swift-contrib-0efa7c32aaf21a29b42b5926cc116007056843be.tar.bz2 |
Moved some modules into separate git modules.
Diffstat (limited to '3rdParty/Boost/boost/typeof/encode_decode_params.hpp')
m--------- | 3rdParty/Boost | 0 | ||||
-rw-r--r-- | 3rdParty/Boost/boost/typeof/encode_decode_params.hpp | 34 |
2 files changed, 0 insertions, 34 deletions
diff --git a/3rdParty/Boost b/3rdParty/Boost new file mode 160000 +Subproject 3bbdbc8cf1996f23d9a366da8bac0f97be6ad79 diff --git a/3rdParty/Boost/boost/typeof/encode_decode_params.hpp b/3rdParty/Boost/boost/typeof/encode_decode_params.hpp deleted file mode 100644 index 640bfdc..0000000 --- a/3rdParty/Boost/boost/typeof/encode_decode_params.hpp +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright (C) 2005 Arkadiy Vertleyb -// Distributed under the Boost Software License, Version 1.0. (See accompanying -// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - -#ifndef BOOST_TYPEOF_ENCODE_DECODE_PARAMS_HPP_INCLUDED -#define BOOST_TYPEOF_ENCODE_DECODE_PARAMS_HPP_INCLUDED - -#include <boost/preprocessor/cat.hpp> -#include <boost/preprocessor/repetition/repeat.hpp> - -// Assumes iter0 contains initial iterator - -#define BOOST_TYPEOF_DECODE_PARAM(z, n, text) \ - typedef boost::type_of::decode_type<iter##n> decode##n; \ - typedef typename decode##n::type p##n; \ - typedef typename decode##n::iter BOOST_PP_CAT(iter, BOOST_PP_INC(n)); - -#define BOOST_TYPEOF_DECODE_PARAMS(n)\ - BOOST_PP_REPEAT(n, BOOST_TYPEOF_DECODE_PARAM, ~) - -// The P0, P1, ... PN are encoded and added to V - -#define BOOST_TYPEOF_ENCODE_PARAMS_BEGIN(z, n, text)\ - typename boost::type_of::encode_type< - -#define BOOST_TYPEOF_ENCODE_PARAMS_END(z, n, text)\ - , BOOST_PP_CAT(P, n)>::type - -#define BOOST_TYPEOF_ENCODE_PARAMS(n, ID) \ - BOOST_PP_REPEAT(n, BOOST_TYPEOF_ENCODE_PARAMS_BEGIN, ~) \ - typename boost::type_of::push_back<V, boost::mpl::size_t<ID> >::type \ - BOOST_PP_REPEAT(n, BOOST_TYPEOF_ENCODE_PARAMS_END, ~) - -#endif//BOOST_TYPEOF_ENCODE_DECODE_PARAMS_HPP_INCLUDED |