epoc32/include/stdapis/boost/mpl/begin_end.hpp
branchSymbian2
changeset 3 e1b950c65cb4
parent 2 2fe1408b6811
child 4 837f303aceeb
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/epoc32/include/stdapis/boost/mpl/begin_end.hpp	Wed Mar 31 12:27:01 2010 +0100
     1.3 @@ -0,0 +1,49 @@
     1.4 +
     1.5 +#ifndef BOOST_MPL_VECTOR_AUX_BEGIN_END_HPP_INCLUDED
     1.6 +#define BOOST_MPL_VECTOR_AUX_BEGIN_END_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/vector/aux_/begin_end.hpp,v $
    1.17 +// $Date: 2004/09/02 15:41:19 $
    1.18 +// $Revision: 1.4 $
    1.19 +
    1.20 +#include <boost/mpl/aux_/config/typeof.hpp>
    1.21 +
    1.22 +#if defined(BOOST_MPL_CFG_TYPEOF_BASED_SEQUENCES)
    1.23 +
    1.24 +#   include <boost/mpl/begin_end_fwd.hpp>
    1.25 +#   include <boost/mpl/vector/aux_/iterator.hpp>
    1.26 +#   include <boost/mpl/vector/aux_/tag.hpp>
    1.27 +
    1.28 +namespace boost { namespace mpl {
    1.29 +
    1.30 +template<>
    1.31 +struct begin_impl< aux::vector_tag >
    1.32 +{
    1.33 +    template< typename Vector > struct apply
    1.34 +    {
    1.35 +        typedef v_iter<Vector,0> type;
    1.36 +    };
    1.37 +};
    1.38 +
    1.39 +template<>
    1.40 +struct end_impl< aux::vector_tag >
    1.41 +{
    1.42 +    template< typename Vector > struct apply
    1.43 +    {
    1.44 +        typedef v_iter<Vector,Vector::size::value> type;
    1.45 +    };
    1.46 +};
    1.47 +
    1.48 +}}
    1.49 +
    1.50 +#endif // BOOST_MPL_CFG_TYPEOF_BASED_SEQUENCES
    1.51 +
    1.52 +#endif // BOOST_MPL_VECTOR_AUX_BEGIN_END_HPP_INCLUDED