-
Notifications
You must be signed in to change notification settings - Fork 12
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
Declarations referenced in a dependent template argument may get removed #8
Comments
This issue is actually very important for template metaprogramming. The following example fails on multiple levels: https://ideone.com/8UCOkK |
Any update on this? |
No, but I'll try to look into it and see if things changed with recent clang. |
ok, at least simple cases should work now. |
Hi, @slycelote. This case fails https://pastebin.com/ipEMpeLC. |
…nction templates See #8 (comment).
That's an unrelated problem; support for concepts is new and I expect you'll find more issues. I fixed this one. |
Hi, @slycelote. Those three still fail: https://pastebin.com/W2yDdMFJ, https://pastebin.com/eFiqanZg and https://pastebin.com/ir6ACLAC. Only the last two use concepts. |
The first one (without |
You are right. I was building with an old version. The first code works for me now. I am using this Docker file to build the app https://pastebin.com/Mn3K8ERg. |
Example: http://ideone.com/QaLeKP
If I rewrite the function in the following way, everything works:
template <class Y> void f(Y& y) { typename Y::value_type value = 42; y.value = value; }
The text was updated successfully, but these errors were encountered: