From bd062158f856a331cfcb36872cbba13a0fc62fc7 Mon Sep 17 00:00:00 2001 From: Aleksey Gurtovoy Date: Fri, 28 Feb 2003 15:27:52 +0000 Subject: [PATCH] remove old header [SVN r17686] --- include/boost/mpl/placeholder.hpp | 79 ------------------------------- 1 file changed, 79 deletions(-) delete mode 100644 include/boost/mpl/placeholder.hpp diff --git a/include/boost/mpl/placeholder.hpp b/include/boost/mpl/placeholder.hpp deleted file mode 100644 index 4d8e721..0000000 --- a/include/boost/mpl/placeholder.hpp +++ /dev/null @@ -1,79 +0,0 @@ -//----------------------------------------------------------------------------- -// boost mpl/placeholder.hpp header file -// See http://www.boost.org for updates, documentation, and revision history. -//----------------------------------------------------------------------------- -// -// Copyright (c) 2001-02 -// Peter Dimov, Aleksey Gurtovoy -// -// Permission to use, copy, modify, distribute and sell this software -// and its documentation for any purpose is hereby granted without fee, -// provided that the above copyright notice appears in all copies and -// that both the copyright notice and this permission notice appear in -// supporting documentation. No representations are made about the -// suitability of this software for any purpose. It is provided "as is" -// without express or implied warranty. - -#if !defined(BOOST_PP_IS_ITERATING) - -///// header body - -#ifndef BOOST_MPL_PLACEHOLDER_HPP_INCLUDED -#define BOOST_MPL_PLACEHOLDER_HPP_INCLUDED - -#if !defined(BOOST_MPL_PREPROCESSING_MODE) -# include "boost/mpl/arg.hpp" -#endif - -#include "boost/mpl/aux_/config/use_preprocessed.hpp" - -#if !defined(BOOST_MPL_NO_PREPROCESSED_HEADERS) && \ - !defined(BOOST_MPL_PREPROCESSING_MODE) - -# define BOOST_MPL_PREPROCESSED_HEADER placeholder.hpp -# include "boost/mpl/aux_/include_preprocessed.hpp" - -#else - -# include "boost/mpl/aux_/config/nttp.hpp" -# include "boost/mpl/limits/arity.hpp" -# include "boost/preprocessor/iterate.hpp" -# include "boost/preprocessor/cat.hpp" - -namespace boost { -namespace mpl { - -// watch out for GNU gettext users, who #define _(x) -#if !defined(_) || defined(BOOST_MPL_NO_UNNAMED_PLACEHOLDER_SUPPORT) -typedef arg<-1> _; - -namespace placeholder { -using boost::mpl::_; -} -#endif - -//: agurt, 17/mar/02: one more placeholder for the last 'apply#' -//: specialization -#define BOOST_PP_ITERATION_PARAMS_1 \ - (3,(1, BOOST_MPL_METAFUNCTION_MAX_ARITY + 1, "boost/mpl/placeholder.hpp")) -#include BOOST_PP_ITERATE() - -} // namespace mpl -} // namespace boost - -#endif // BOOST_MPL_USE_PREPROCESSED_HEADERS -#endif // BOOST_MPL_PLACEHOLDER_HPP_INCLUDED - -///// iteration - -#else -#define i BOOST_PP_FRAME_ITERATION(1) - -typedef arg BOOST_PP_CAT(_,i); - -namespace placeholder { -using boost::mpl::BOOST_PP_CAT(_,i); -} - -#undef i -#endif // BOOST_PP_IS_ITERATING