== Quote from Simen kjaeraas ([email protected])'s article > %u <[email protected]> wrote: > > I only need something to make a void deleg() from a void func(). > This works for me: > ReturnType!( F ) delegate( ParameterTypeTuple!( F ) ) toDelegate( F )( F > fn ) { > return ( ParameterTypeTuple!( F ) args ){ return fn( args ); }; > }
I see what you did there(took me a few blinks and spec lookups): function literals default to delegates :) Thanks!!
