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

[basic.lookup.argdep]/5 Missing export in apply(T t, U u) ? #2968

Closed
onihusube opened this issue Jul 17, 2019 · 1 comment · Fixed by #2973
Closed

[basic.lookup.argdep]/5 Missing export in apply(T t, U u) ? #2968

onihusube opened this issue Jul 17, 2019 · 1 comment · Fixed by #2973

Comments

@onihusube
Copy link
Contributor

http://eel.is/c++draft/basic.lookup#argdep-5
in Translation unit #2

template<typename T, typename U> void apply(T t, U u) {
  f(t, u);
  g(t);
}

need export here?

export template<typename T, typename U> void apply(T t, U u) {
  f(t, u);
  g(t);
}
@zygoloid
Copy link
Member

Agreed, this looks wrong.

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

Successfully merging a pull request may close this issue.

2 participants