mirror of
https://github.com/boostorg/utility.git
synced 2025-10-08 06:50:53 +02:00
Compare commits
3 Commits
string_vie
...
boost-1.60
Author | SHA1 | Date | |
---|---|---|---|
|
cf5ad341ed | ||
|
1f6de83fe2 | ||
|
cb6500161b |
@@ -82,8 +82,10 @@
|
|||||||
#ifndef BOOST_OPERATORS_HPP
|
#ifndef BOOST_OPERATORS_HPP
|
||||||
#define BOOST_OPERATORS_HPP
|
#define BOOST_OPERATORS_HPP
|
||||||
|
|
||||||
|
#include <cstddef>
|
||||||
|
#include <iterator>
|
||||||
|
|
||||||
#include <boost/config.hpp>
|
#include <boost/config.hpp>
|
||||||
#include <boost/iterator.hpp>
|
|
||||||
#include <boost/detail/workaround.hpp>
|
#include <boost/detail/workaround.hpp>
|
||||||
|
|
||||||
#if defined(__sgi) && !defined(__GNUC__)
|
#if defined(__sgi) && !defined(__GNUC__)
|
||||||
@@ -891,13 +893,13 @@ template <class T,
|
|||||||
class R = V const &>
|
class R = V const &>
|
||||||
struct input_iterator_helper
|
struct input_iterator_helper
|
||||||
: input_iteratable<T, P
|
: input_iteratable<T, P
|
||||||
, boost::iterator<std::input_iterator_tag, V, D, P, R
|
, std::iterator<std::input_iterator_tag, V, D, P, R
|
||||||
> > {};
|
> > {};
|
||||||
|
|
||||||
template<class T>
|
template<class T>
|
||||||
struct output_iterator_helper
|
struct output_iterator_helper
|
||||||
: output_iteratable<T
|
: output_iteratable<T
|
||||||
, boost::iterator<std::output_iterator_tag, void, void, void, void
|
, std::iterator<std::output_iterator_tag, void, void, void, void
|
||||||
> >
|
> >
|
||||||
{
|
{
|
||||||
T& operator*() { return static_cast<T&>(*this); }
|
T& operator*() { return static_cast<T&>(*this); }
|
||||||
@@ -911,7 +913,7 @@ template <class T,
|
|||||||
class R = V&>
|
class R = V&>
|
||||||
struct forward_iterator_helper
|
struct forward_iterator_helper
|
||||||
: forward_iteratable<T, P
|
: forward_iteratable<T, P
|
||||||
, boost::iterator<std::forward_iterator_tag, V, D, P, R
|
, std::iterator<std::forward_iterator_tag, V, D, P, R
|
||||||
> > {};
|
> > {};
|
||||||
|
|
||||||
template <class T,
|
template <class T,
|
||||||
@@ -921,7 +923,7 @@ template <class T,
|
|||||||
class R = V&>
|
class R = V&>
|
||||||
struct bidirectional_iterator_helper
|
struct bidirectional_iterator_helper
|
||||||
: bidirectional_iteratable<T, P
|
: bidirectional_iteratable<T, P
|
||||||
, boost::iterator<std::bidirectional_iterator_tag, V, D, P, R
|
, std::iterator<std::bidirectional_iterator_tag, V, D, P, R
|
||||||
> > {};
|
> > {};
|
||||||
|
|
||||||
template <class T,
|
template <class T,
|
||||||
@@ -931,7 +933,7 @@ template <class T,
|
|||||||
class R = V&>
|
class R = V&>
|
||||||
struct random_access_iterator_helper
|
struct random_access_iterator_helper
|
||||||
: random_access_iteratable<T, P, D, R
|
: random_access_iteratable<T, P, D, R
|
||||||
, boost::iterator<std::random_access_iterator_tag, V, D, P, R
|
, std::iterator<std::random_access_iterator_tag, V, D, P, R
|
||||||
> >
|
> >
|
||||||
{
|
{
|
||||||
friend D requires_difference_operator(const T& x, const T& y) {
|
friend D requires_difference_operator(const T& x, const T& y) {
|
||||||
|
Reference in New Issue
Block a user