mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-08-02 06:02:27 -04:00
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7584 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
61 lines
1.5 KiB
C++
61 lines
1.5 KiB
C++
// Copyright David Abrahams 2003.
|
|
// Distributed under the Boost Software License, Version 1.0. (See
|
|
// accompanying file LICENSE_1_0.txt or copy at
|
|
// http://www.boost.org/LICENSE_1_0.txt)
|
|
#ifndef ITERATOR_TRAITS_DWA200347_HPP
|
|
# define ITERATOR_TRAITS_DWA200347_HPP
|
|
|
|
# include <boost/detail/iterator.hpp>
|
|
# include <boost/detail/workaround.hpp>
|
|
|
|
namespace boost {
|
|
namespace iterators {
|
|
|
|
// Macro for supporting old compilers, no longer needed but kept
|
|
// for backwards compatibility (it was documented).
|
|
#define BOOST_ITERATOR_CATEGORY iterator_category
|
|
|
|
|
|
template <class Iterator>
|
|
struct iterator_value
|
|
{
|
|
typedef typename boost::detail::iterator_traits<Iterator>::value_type type;
|
|
};
|
|
|
|
template <class Iterator>
|
|
struct iterator_reference
|
|
{
|
|
typedef typename boost::detail::iterator_traits<Iterator>::reference type;
|
|
};
|
|
|
|
|
|
template <class Iterator>
|
|
struct iterator_pointer
|
|
{
|
|
typedef typename boost::detail::iterator_traits<Iterator>::pointer type;
|
|
};
|
|
|
|
template <class Iterator>
|
|
struct iterator_difference
|
|
{
|
|
typedef typename boost::detail::iterator_traits<Iterator>::difference_type type;
|
|
};
|
|
|
|
template <class Iterator>
|
|
struct iterator_category
|
|
{
|
|
typedef typename boost::detail::iterator_traits<Iterator>::iterator_category type;
|
|
};
|
|
|
|
} // namespace iterators
|
|
|
|
using iterators::iterator_value;
|
|
using iterators::iterator_reference;
|
|
using iterators::iterator_pointer;
|
|
using iterators::iterator_difference;
|
|
using iterators::iterator_category;
|
|
|
|
} // namespace boost
|
|
|
|
#endif // ITERATOR_TRAITS_DWA200347_HPP
|