mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2025-08-03 12:49:50 +00:00
add sprout::iterator, and update copyright
This commit is contained in:
parent
759265d624
commit
0918194078
2792 changed files with 3088 additions and 3003 deletions
|
@ -1,5 +1,5 @@
|
|||
/*=============================================================================
|
||||
Copyright (c) 2011-2016 Bolero MURAKAMI
|
||||
Copyright (c) 2011-2017 Bolero MURAKAMI
|
||||
https://github.com/bolero-MURAKAMI/Sprout
|
||||
|
||||
Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
|
@ -8,9 +8,9 @@
|
|||
#ifndef SPROUT_ITERATOR_REMAKE_ITERATOR_HPP
|
||||
#define SPROUT_ITERATOR_REMAKE_ITERATOR_HPP
|
||||
|
||||
#include <iterator>
|
||||
#include <utility>
|
||||
#include <sprout/config.hpp>
|
||||
#include <sprout/iterator/iterator.hpp>
|
||||
#include <sprout/iterator/next.hpp>
|
||||
#include <sprout/iterator/prev.hpp>
|
||||
#include <sprout/iterator/distance.hpp>
|
||||
|
@ -24,7 +24,7 @@ namespace sprout {
|
|||
//
|
||||
template<typename DstIterator, typename SrcIterator>
|
||||
class remake_iterator
|
||||
: public std::iterator<
|
||||
: public sprout::iterator<
|
||||
typename sprout::common_iterator_category<DstIterator, SrcIterator>::type,
|
||||
typename sprout::common_iterator_value_type<DstIterator, SrcIterator>::type,
|
||||
typename sprout::common_iterator_difference_type<DstIterator, SrcIterator>::type,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue