Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] <vector>: std::erase should return size_type, not void #1773

Closed
VioletGiraffe opened this issue Oct 6, 2022 · 1 comment
Closed

[BUG] <vector>: std::erase should return size_type, not void #1773

VioletGiraffe opened this issue Oct 6, 2022 · 1 comment
Labels

Comments

@VioletGiraffe
Copy link

Description

The algorithm std::erase, introduced in C++20, must return size_type, but NDK 25.0.8775105 returns void. Which leads to very annoying compilation errors in cross-platform code that works on a bunch of other Clang, GCC and MSVC platforms.

Affected versions

r25

Canary version

No response

Host OS

Linux, Windows

Host OS version

Ubuntu 20.04, Windows 10

Affected ABIs

x86_64

Build system

CMake

Other build system

No response

minSdkVersion

21

Device API level

32

@DanAlbert
Copy link
Member

Duplicate of #1530

@DanAlbert DanAlbert marked this as a duplicate of #1530 Oct 6, 2022
@DanAlbert DanAlbert closed this as not planned Won't fix, can't repro, duplicate, stale Oct 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants