I'm currently trying to pass a delegate to a shared member function to a function. The compiler tells me that the type I'm passing is
(void delegate(const const(char[]) str) shared)

When I try to use this as type for the function argument, it does not accept it. I tried various combinations but couldn't find one that does work.

So what is the correct syntax for a delegate to a shared member function?
--
Kind Regards
Benjamin Thaut

Reply via email to