From da31648a618fb267391b9c11bbbf2de7674e4138 Mon Sep 17 00:00:00 2001 From: nobody Date: Fri, 22 Feb 2002 21:13:30 +0000 Subject: [PATCH] This commit was manufactured by cvs2svn to create branch 'lambda_development_during_review'. [SVN r12907] --- include/boost/lambda/algorithms.hpp | 82 ----------------------------- 1 file changed, 82 deletions(-) delete mode 100644 include/boost/lambda/algorithms.hpp diff --git a/include/boost/lambda/algorithms.hpp b/include/boost/lambda/algorithms.hpp deleted file mode 100644 index b2a680c..0000000 --- a/include/boost/lambda/algorithms.hpp +++ /dev/null @@ -1,82 +0,0 @@ -// -- algorithms.hpp -- Boost Lambda Library ----------------------------------- -// Copyright (C) 1999, 2000 Jaakko Järvi (jaakko.jarvi@cs.utu.fi) -// -// Permission to copy, use, sell and distribute this software is granted -// provided this copyright notice appears in all copies. -// Permission to modify the code and to distribute modified code is granted -// provided this copyright notice appears in all copies, and a notice -// that the code was modified is included with the copyright notice. -// -// This software is provided "as is" without express or implied warranty, -// and with no claim as to its suitability for any purpose. -// -// For more information, see http://www.boost.org - -#ifndef BOOST_LAMBDA_ALGORITHMS_HPP -#define BOOST_LAMBDA_ALGORITHMS_HPP - -#include "boost/lambda/core.hpp" - -#include - -namespace boost { - namespace lambda { - -namespace ll { - -// for_each --------------------------------- - -struct for_each : public has_sig { - - template - struct sig { - typedef typename boost::remove_const< - typename boost::remove_reference< - typename boost::tuples::element<3, Args>::type - >::type - >::type type; - }; - - template - C - operator()(A a, B b, C c) const - { return ::std::for_each(a, b, c);} -}; - -// transform -------------------------------- - -struct transform : public has_sig { - - template - struct sig { - typedef typename boost::remove_const< - typename boost::remove_reference< - typename boost::tuples::element< - boost::tuples::length::value - 1, - Args - >::type - >::type - >::type type; - }; - - template - C - operator()(A a, B b, C c, D d) const - { return std::transform(a, b, c, d);} - - template - D - operator()(A a, B b, C c, D d, E e) - { return std::transform(a, b, c, d, e);} - -}; - - -} // end of ll namespace - -} // end of lambda namespace -} // end of boost namespace - - - -#endif