mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2025-07-12 14:54:10 +00:00
fix iterator distance implementation and adapt-interface
This commit is contained in:
parent
a4c7df65e0
commit
aec15c55a8
15 changed files with 194 additions and 154 deletions
|
@ -183,11 +183,11 @@ namespace sprout {
|
|||
}
|
||||
|
||||
//
|
||||
// distance
|
||||
// iterator_distance
|
||||
//
|
||||
template<typename Iterator, typename Traits>
|
||||
inline SPROUT_CONSTEXPR typename std::iterator_traits<sprout::bytes_iterator<Iterator, Traits> >::difference_type
|
||||
distance(
|
||||
iterator_distance(
|
||||
sprout::bytes_iterator<Iterator, Traits> first,
|
||||
sprout::bytes_iterator<Iterator, Traits> last
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue