Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 3d53be98 authored by Daniel Vrátil's avatar Daniel Vrátil 🤖

AkRanges: add operator< to LazyIterator

It appears that MSVC requires iterator have operator< defined in debug
builds for some iterator debugging/checking feature.
parent a4e7f931
......@@ -110,10 +110,15 @@ public:
return mIter != other.mIter;
}
bool operator<(const LazyIterator<Iterator, TransformFn> &other) const
{
return mIter < other.mIter;
}
auto operator*() const
{
return std::move(getValue<TransformFn>(mIter));
}
}
auto operator-(const LazyIterator<Iterator, TransformFn> &other) const
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment