C++ function signature template parameter mangling issue

Daniel Murphy via Digitalmars-d digitalmars-d at puremagic.com
Mon Feb 16 23:42:27 PST 2015


"Benjamin Thaut"  wrote in message news:mbuok2$pn5$1 at digitalmars.com...

> Error: ICE: Unsupported type void()
>
> So close...

Good news is that that's a compiler bug and not a language limitation. 
Although allowing you to pass a function type to a template in the first 
place might also be a compiler bug.

D/C++ interop really works best when you can massage the C++ side a little. 



More information about the Digitalmars-d mailing list