Style guide for indentation of template restrictions

Per Nordlöw per.nordlow at gmail.com
Sat Aug 22 20:26:40 UTC 2020


Is there code convention for the indentation of template 
restrictions?

Should a restriction be indented as

     void f(U)(U a, ref U b)
         if (isUnsigned!U)

or not as in

     void f(U)(U a, ref U b)
     if (isUnsigned!U)

?


More information about the Digitalmars-d mailing list