epoc32/include/stdapis/boost/range/result_iterator.hpp
branchSymbian2
changeset 2 2fe1408b6811
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/epoc32/include/stdapis/boost/range/result_iterator.hpp	Tue Mar 16 16:12:26 2010 +0000
     1.3 @@ -0,0 +1,43 @@
     1.4 +// Boost.Range library
     1.5 +//
     1.6 +//  Copyright Thorsten Ottosen 2003-2004. Use, modification and
     1.7 +//  distribution is subject to the Boost Software License, Version
     1.8 +//  1.0. (See accompanying file LICENSE_1_0.txt or copy at
     1.9 +//  http://www.boost.org/LICENSE_1_0.txt)
    1.10 +//
    1.11 +// For more information, see http://www.boost.org/libs/range/
    1.12 +//
    1.13 +
    1.14 +#ifndef BOOST_RANGE_RESULT_ITERATOR_HPP
    1.15 +#define BOOST_RANGE_RESULT_ITERATOR_HPP
    1.16 +
    1.17 +#if defined(_MSC_VER) && (_MSC_VER >= 1020)
    1.18 +# pragma once
    1.19 +#endif
    1.20 +
    1.21 +#include <boost/range/config.hpp>
    1.22 +#include <boost/range/iterator.hpp>
    1.23 +#include <boost/range/const_iterator.hpp>
    1.24 +#include <boost/type_traits/is_const.hpp>
    1.25 +#include <boost/mpl/if.hpp>
    1.26 +
    1.27 +namespace boost
    1.28 +{
    1.29 +    //////////////////////////////////////////////////////////////////////////
    1.30 +    // default
    1.31 +    //////////////////////////////////////////////////////////////////////////
    1.32 +    
    1.33 +    template< typename C >
    1.34 +    struct range_result_iterator
    1.35 +    {
    1.36 +        typedef BOOST_RANGE_DEDUCED_TYPENAME 
    1.37 +            mpl::if_< BOOST_DEDUCED_TYPENAME is_const<C>::type, 
    1.38 +                      BOOST_DEDUCED_TYPENAME range_const_iterator<C>::type,
    1.39 +                      BOOST_DEDUCED_TYPENAME range_iterator<C>::type >::type type;
    1.40 +    };
    1.41 +    
    1.42 +} // namespace boost
    1.43 +
    1.44 +//#endif // BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
    1.45 +
    1.46 +#endif