On 2/10/12 7:35 PM, David Nadlinger wrote:
class(T) if (__traits(compiles, { std.utf.decode(T.init); } )) { … }

(untested, you might have to return the value from the delegate to avoid an expression-without-effect error)

Reply via email to