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]: no support for shared_ptr with array parameter #1847

Closed
jmoguill opened this issue Mar 6, 2023 · 2 comments
Closed

[Bug]: no support for shared_ptr with array parameter #1847

jmoguill opened this issue Mar 6, 2023 · 2 comments
Labels

Comments

@jmoguill
Copy link

jmoguill commented Mar 6, 2023

Description

No support for shared_ptr with array parameter, tested with latest Android ndk (25.2.9519653)
Example:

std::shared_ptr<int[]> x;
x.reset(new int[5]);

Compile error: no matching call to reset

Upstream bug

No response

Commit to cherry-pick

No response

Affected versions

r25

Canary version

No response

Host OS

Windows

Host OS version

10 , 19042.2604

Affected ABIs

arm64-v8a

@jmoguill jmoguill added the bug label Mar 6, 2023
@jmoguill
Copy link
Author

jmoguill commented Mar 6, 2023

Seems this issue was reported before:

#950

This is a c++17 feature, but doesn't seem to be supported yet....?

@jfgoog
Copy link
Collaborator

jfgoog commented Mar 6, 2023

Our version of libc++ in the NDK is somewhat out of date. We are working on fixing this.

Duplicate of #1530.

@jfgoog jfgoog closed this as completed Mar 6, 2023
@jfgoog jfgoog closed this as not planned Won't fix, can't repro, duplicate, stale Mar 6, 2023
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