On Saturday, 18 June 2016 at 17:48:47 UTC, Joerg Joergonson wrote:
class foo(T) if (is(T : subfoo)) X;

FYI this can also be done in the template parameter list:

class foo(T : subfoo){}

Reply via email to