epoc32/include/stdapis/boost/mpl/aux_/clear_impl.hpp
branchSymbian3
changeset 4 837f303aceeb
parent 3 e1b950c65cb4
     1.1 --- a/epoc32/include/stdapis/boost/mpl/aux_/clear_impl.hpp	Wed Mar 31 12:27:01 2010 +0100
     1.2 +++ b/epoc32/include/stdapis/boost/mpl/aux_/clear_impl.hpp	Wed Mar 31 12:33:34 2010 +0100
     1.3 @@ -1,9 +1,8 @@
     1.4  
     1.5 -#ifndef BOOST_MPL_SET_AUX_CLEAR_IMPL_HPP_INCLUDED
     1.6 -#define BOOST_MPL_SET_AUX_CLEAR_IMPL_HPP_INCLUDED
     1.7 +#ifndef BOOST_MPL_AUX_CLEAR_IMPL_HPP_INCLUDED
     1.8 +#define BOOST_MPL_AUX_CLEAR_IMPL_HPP_INCLUDED
     1.9  
    1.10 -// Copyright Aleksey Gurtovoy 2003-2004
    1.11 -// Copyright David Abrahams 2003-2004
    1.12 +// Copyright Aleksey Gurtovoy 2000-2004
    1.13  //
    1.14  // Distributed under the Boost Software License, Version 1.0. 
    1.15  // (See accompanying file LICENSE_1_0.txt or copy at 
    1.16 @@ -11,25 +10,26 @@
    1.17  //
    1.18  // See http://www.boost.org/libs/mpl for documentation.
    1.19  
    1.20 -// $Source: /cvsroot/boost/boost/boost/mpl/set/aux_/clear_impl.hpp,v $
    1.21 -// $Date: 2004/09/02 15:41:02 $
    1.22 -// $Revision: 1.2 $
    1.23 +// $Source: /cvsroot/boost/boost/boost/mpl/aux_/clear_impl.hpp,v $
    1.24 +// $Date: 2004/09/02 15:40:43 $
    1.25 +// $Revision: 1.6 $
    1.26  
    1.27  #include <boost/mpl/clear_fwd.hpp>
    1.28 -#include <boost/mpl/set/aux_/set0.hpp>
    1.29 -#include <boost/mpl/set/aux_/tag.hpp>
    1.30 +#include <boost/mpl/aux_/traits_lambda_spec.hpp>
    1.31 +#include <boost/mpl/aux_/config/eti.hpp>
    1.32  
    1.33  namespace boost { namespace mpl {
    1.34  
    1.35 -template<>
    1.36 -struct clear_impl< aux::set_tag >
    1.37 +// no default implementation; the definition is needed to make MSVC happy
    1.38 +
    1.39 +template< typename Tag >
    1.40 +struct clear_impl
    1.41  {
    1.42 -    template< typename Set > struct apply
    1.43 -    {
    1.44 -        typedef set0<> type;
    1.45 -    };
    1.46 +    template< typename Sequence > struct apply;
    1.47  };
    1.48  
    1.49 +BOOST_MPL_ALGORITM_TRAITS_LAMBDA_SPEC(1, clear_impl)
    1.50 +
    1.51  }}
    1.52  
    1.53 -#endif // BOOST_MPL_SET_AUX_CLEAR_IMPL_HPP_INCLUDED
    1.54 +#endif // BOOST_MPL_AUX_CLEAR_IMPL_HPP_INCLUDED