[Issue 1404] Link failure with template mixin and function literal
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Jan 18 17:42:41 PST 2014
https://d.puremagic.com/issues/show_bug.cgi?id=1404
Marco Leise <Marco.Leise at gmx.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |Marco.Leise at gmx.de
--- Comment #1 from Marco Leise <Marco.Leise at gmx.de> 2014-01-18 17:42:38 PST ---
I have a similar case to add. Not sure if it is exactly the same bug, but I
guess so. Somehow function literals disappear from the output when they are
passed as an alias into a mixin template.
template Impl(string entryPoint, alias wrapper)
{
mixin(`alias ` ~ entryPoint ~ `Checked = wrapper;`);
}
template OpenAL11()
{
mixin Impl!("alGetProcAddress", () {});
}
void main()
{
OpenAL11!().alGetProcAddressChecked();
}
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list