epoc32/include/stdapis/boost/mpl/contains.hpp
branchSymbian2
changeset 2 2fe1408b6811
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/epoc32/include/stdapis/boost/mpl/contains.hpp	Tue Mar 16 16:12:26 2010 +0000
     1.3 @@ -0,0 +1,41 @@
     1.4 +
     1.5 +#ifndef BOOST_MPL_CONTAINS_HPP_INCLUDED
     1.6 +#define BOOST_MPL_CONTAINS_HPP_INCLUDED
     1.7 +
     1.8 +// Copyright Eric Friedman 2002
     1.9 +// Copyright Aleksey Gurtovoy 2004
    1.10 +//
    1.11 +// Distributed under the Boost Software License, Version 1.0. 
    1.12 +// (See accompanying file LICENSE_1_0.txt or copy at 
    1.13 +// http://www.boost.org/LICENSE_1_0.txt)
    1.14 +//
    1.15 +// See http://www.boost.org/libs/mpl for documentation.
    1.16 +
    1.17 +// $Source: /cvsroot/boost/boost/boost/mpl/contains.hpp,v $
    1.18 +// $Date: 2004/09/02 15:40:41 $
    1.19 +// $Revision: 1.6 $
    1.20 +
    1.21 +#include <boost/mpl/contains_fwd.hpp>
    1.22 +#include <boost/mpl/sequence_tag.hpp>
    1.23 +#include <boost/mpl/aux_/contains_impl.hpp>
    1.24 +#include <boost/mpl/aux_/na_spec.hpp>
    1.25 +#include <boost/mpl/aux_/lambda_support.hpp>
    1.26 +
    1.27 +namespace boost { namespace mpl {
    1.28 +
    1.29 +template<
    1.30 +      typename BOOST_MPL_AUX_NA_PARAM(Sequence)
    1.31 +    , typename BOOST_MPL_AUX_NA_PARAM(T)
    1.32 +    >
    1.33 +struct contains
    1.34 +    : contains_impl< typename sequence_tag<Sequence>::type >
    1.35 +        ::template apply< Sequence,T >
    1.36 +{
    1.37 +    BOOST_MPL_AUX_LAMBDA_SUPPORT(2,contains,(Sequence,T))
    1.38 +};
    1.39 +
    1.40 +BOOST_MPL_AUX_NA_SPEC(2, contains)
    1.41 +
    1.42 +}}
    1.43 +
    1.44 +#endif // BOOST_MPL_CONTAINS_HPP_INCLUDED