mirror of
https://github.com/boostorg/histogram.git
synced 2026-02-18 14:12:11 +00:00
CI fix
This commit is contained in:
@@ -344,8 +344,8 @@ private:
|
||||
template <class Value, class Reference, class Buffer>
|
||||
class iterator_t
|
||||
: public boost::iterator_adaptor<iterator_t<Value, Reference, Buffer>, std::size_t,
|
||||
Value, boost::random_access_traversal_tag,
|
||||
Reference, std::ptrdiff_t> {
|
||||
Value, std::random_access_iterator_tag, Reference,
|
||||
std::ptrdiff_t> {
|
||||
|
||||
public:
|
||||
iterator_t() = default;
|
||||
|
||||
@@ -20,7 +20,7 @@ template <typename Axis>
|
||||
class iterator
|
||||
: public boost::iterator_adaptor<iterator<Axis>, int,
|
||||
decltype(std::declval<const Axis&>()[0]),
|
||||
boost::random_access_traversal_tag,
|
||||
std::random_access_iterator_tag,
|
||||
decltype(std::declval<const Axis&>()[0]), int> {
|
||||
public:
|
||||
explicit iterator(const Axis& axis, int idx)
|
||||
|
||||
@@ -101,7 +101,7 @@ public:
|
||||
|
||||
class range_iterator
|
||||
: public boost::iterator_adaptor<range_iterator, histogram_iterator, accessor,
|
||||
boost::forward_traversal_tag, accessor> {
|
||||
std::forward_iterator_tag, accessor> {
|
||||
public:
|
||||
accessor operator*() const noexcept { return {parent_, range_iterator::base()}; }
|
||||
|
||||
|
||||
@@ -161,7 +161,7 @@ struct map_impl : T {
|
||||
template <class Value, class Reference, class MapPtr>
|
||||
struct iterator_t
|
||||
: boost::iterator_adaptor<iterator_t<Value, Reference, MapPtr>, std::size_t, Value,
|
||||
boost::random_access_traversal_tag, Reference,
|
||||
std::random_access_iterator_tag, Reference,
|
||||
std::ptrdiff_t> {
|
||||
iterator_t() = default;
|
||||
template <class V, class R, class M, class = requires_convertible<M, MapPtr>>
|
||||
|
||||
Reference in New Issue
Block a user