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

Goal for subtyping standard conversion #61

Open
seanbaxter opened this issue Sep 19, 2024 · 0 comments
Open

Goal for subtyping standard conversion #61

seanbaxter opened this issue Sep 19, 2024 · 0 comments

Comments

@seanbaxter
Copy link
Collaborator

seanbaxter commented Sep 19, 2024

How do I get this to build?

(Compiler Explorer)

#feature on safety

template<typename T>
T call(T);

int^(*pf)(int^) = call<int^>;

int^/static(*pf2)(int^/static) = pf;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant