epoc32/include/stdapis/boost/mpl/size.hpp
branchSymbian3
changeset 4 837f303aceeb
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/epoc32/include/stdapis/boost/mpl/size.hpp	Wed Mar 31 12:33:34 2010 +0100
     1.3 @@ -0,0 +1,42 @@
     1.4 +
     1.5 +#ifndef BOOST_MPL_SIZE_HPP_INCLUDED
     1.6 +#define BOOST_MPL_SIZE_HPP_INCLUDED
     1.7 +
     1.8 +// Copyright Aleksey Gurtovoy 2000-2004
     1.9 +//
    1.10 +// Distributed under the Boost Software License, Version 1.0. 
    1.11 +// (See accompanying file LICENSE_1_0.txt or copy at 
    1.12 +// http://www.boost.org/LICENSE_1_0.txt)
    1.13 +//
    1.14 +// See http://www.boost.org/libs/mpl for documentation.
    1.15 +
    1.16 +// $Source: /cvsroot/boost/boost/boost/mpl/size.hpp,v $
    1.17 +// $Date: 2004/09/02 15:40:42 $
    1.18 +// $Revision: 1.5 $
    1.19 +
    1.20 +#include <boost/mpl/size_fwd.hpp>
    1.21 +#include <boost/mpl/sequence_tag.hpp>
    1.22 +#include <boost/mpl/aux_/size_impl.hpp>
    1.23 +#include <boost/mpl/aux_/na_spec.hpp>
    1.24 +#include <boost/mpl/aux_/lambda_support.hpp>
    1.25 +#include <boost/mpl/aux_/msvc_eti_base.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 +    >
    1.32 +struct size
    1.33 +    : aux::msvc_eti_base<
    1.34 +        typename size_impl< typename sequence_tag<Sequence>::type >
    1.35 +            ::template apply< Sequence >::type
    1.36 +      >::type
    1.37 +{
    1.38 +    BOOST_MPL_AUX_LAMBDA_SUPPORT(1, size, (Sequence))
    1.39 +};
    1.40 +
    1.41 +BOOST_MPL_AUX_NA_SPEC(1, size)
    1.42 +
    1.43 +}}
    1.44 +
    1.45 +#endif // BOOST_MPL_SIZE_HPP_INCLUDED