boostorg / boostorg/safe_numerics

[With example] Make copy constructible

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

Description

Source:
```cpp
std::unordered_map, std::string> tmp;
```

Result:
```sh
/home/matheus/programmieren/c++/argo/src/database/User.cpp:508:87: required from here
508 | std::unordered_map, std::string> tmp;
| ^~~
/usr/include/c++/15.2.1/bits/hashtable.h:210:51: Fehler: statische Assertion fehlgeschlagen: hash function must be copy constructible
210 | static_assert(is_copy_constructible<_Hash>::value,
| ^~~~~
```

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.