On Tue, 24 Mar 2015 00:54:12 +0000, weaselcat wrote: > On Monday, 23 March 2015 at 22:39:28 UTC, rumbu wrote: > >> I have only one template and I think it's impossible to define >> specializations since it's supposed that a random member of A... will >> be passed sometime by reference: > > auto ref? http://dlang.org/template.html#auto-ref-parameters
nope, that is not what OP wants. OP's wish is impossible, due to `ref` not being a part of a type.
signature.asc
Description: PGP signature