epoc32/include/stdapis/boost/range/result_iterator.hpp
author William Roberts <williamr@symbian.org>
Wed, 31 Mar 2010 12:33:34 +0100
branchSymbian3
changeset 4 837f303aceeb
permissions -rw-r--r--
Current Symbian^3 public API header files (from PDK 3.0.h)
This is the epoc32/include tree with the "platform" subtrees removed, and
all but a selected few mbg and rsg files removed.
     1 // Boost.Range library
     2 //
     3 //  Copyright Thorsten Ottosen 2003-2004. Use, modification and
     4 //  distribution is subject to the Boost Software License, Version
     5 //  1.0. (See accompanying file LICENSE_1_0.txt or copy at
     6 //  http://www.boost.org/LICENSE_1_0.txt)
     7 //
     8 // For more information, see http://www.boost.org/libs/range/
     9 //
    10 
    11 #ifndef BOOST_RANGE_RESULT_ITERATOR_HPP
    12 #define BOOST_RANGE_RESULT_ITERATOR_HPP
    13 
    14 #if defined(_MSC_VER) && (_MSC_VER >= 1020)
    15 # pragma once
    16 #endif
    17 
    18 #include <boost/range/config.hpp>
    19 #include <boost/range/iterator.hpp>
    20 #include <boost/range/const_iterator.hpp>
    21 #include <boost/type_traits/is_const.hpp>
    22 #include <boost/mpl/if.hpp>
    23 
    24 namespace boost
    25 {
    26     //////////////////////////////////////////////////////////////////////////
    27     // default
    28     //////////////////////////////////////////////////////////////////////////
    29     
    30     template< typename C >
    31     struct range_result_iterator
    32     {
    33         typedef BOOST_RANGE_DEDUCED_TYPENAME 
    34             mpl::if_< BOOST_DEDUCED_TYPENAME is_const<C>::type, 
    35                       BOOST_DEDUCED_TYPENAME range_const_iterator<C>::type,
    36                       BOOST_DEDUCED_TYPENAME range_iterator<C>::type >::type type;
    37     };
    38     
    39 } // namespace boost
    40 
    41 //#endif // BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
    42 
    43 #endif