On Thursday, 28 July 2016 at 21:49:00 UTC, pineapple wrote:
On Thursday, 28 July 2016 at 20:28:39 UTC, jdfgjdf wrote:"Parameters!dgref.init" does not yield a reference. The real error is not displayed. In a normal context it would be "stuff is not callable with...."What would be a better way to check whether some callable can be called using a parameters tuple?
Oh, I answered my own questionenum bool dgrefcallable = is(typeof((){auto params = Parameters!dgref.init; dgref(params);}));