boostorg / boostorg/iterator

counting_iterator used as a forward iterator in <algorithm> generates warning in C++17

Open
#59 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
23
Forks
70
PR merge metrics
No merged PRs in 30d

Description

Following results in **iterator_adaptor.hpp(318,1): warning C4244: '+=': conversion from '__int64' to 'Base', possible loss of data**

` std::for_each(std::execution::par,
boost::counting_iterator(0),
boost::counting_iterator(10),
[&](int) {});`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.