boostorg / boostorg/compute

Add better warning for vector's non-initializing constructor

Open
#382 0 comments 0 reactions 0 assignees View on GitHub
documentation
Dominant language
C++
Stars
1.7k
Forks
340
PR merge metrics
No merged PRs in 30d

Description

Add a better warning to the `size_t` constructor for `vector` which documents its non-initializing behavior.

From the review:

```
the
unusual behaviour of vector's size_t constructor (not initializing the
elements) should be warned more prominently.
```
##

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.