On 2/16/2015 11:42 PM, Daniel Murphy wrote:
"Benjamin Thaut"  wrote in message news:[email protected]...

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.

True, it might be easier to adjust the C++ side so it takes a pointer to a function type.

Reply via email to