First public contribution.
2 #ifndef BOOST_MPL_REPLACE_HPP_INCLUDED
3 #define BOOST_MPL_REPLACE_HPP_INCLUDED
5 // Copyright Aleksey Gurtovoy 2000-2004
6 // Copyright John R. Bandela 2000-2002
7 // Copyright David Abrahams 2003-2004
9 // Distributed under the Boost Software License, Version 1.0.
10 // (See accompanying file LICENSE_1_0.txt or copy at
11 // http://www.boost.org/LICENSE_1_0.txt)
13 // See http://www.boost.org/libs/mpl for documentation.
15 // $Source: /cvsroot/boost/boost/boost/mpl/replace.hpp,v $
16 // $Date: 2004/11/28 01:57:09 $
19 #include <boost/mpl/replace_if.hpp>
20 #include <boost/mpl/same_as.hpp>
21 #include <boost/mpl/aux_/inserter_algorithm.hpp>
23 namespace boost { namespace mpl {
34 : replace_if_impl< Sequence, same_as<OldType>, NewType, Inserter >
44 struct reverse_replace_impl
45 : reverse_replace_if_impl< Sequence, same_as<OldType>, NewType, Inserter >
51 BOOST_MPL_AUX_INSERTER_ALGORITHM_DEF(4, replace)
55 #endif // BOOST_MPL_REPLACE_HPP_INCLUDED