boostorg / boostorg/range

Preconditions for sliced and copied too strong

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

Description

Hi,

in the documentation the preconditions of sliced and copied should state:

```
0 <= n && n <= m && m <= distance(rng)
^
```

currently it says
```
0 <= n && n <= m && m < distance(rng)
```

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.