listing template function overloads for use in compile time decisions

2014-04-29 Thread Atash via Digitalmars-d
Let's say that we have a struct `A` that contains some template function named `fn` template-parameterized on its argument types: struct A { ... void fn(A)(auto ref A a) { ... } ... } I cannot get a handle on `fn` as an alias when searching for overloads of the string fn in `A` via

Re: listing template function overloads for use in compile time decisions

2014-04-29 Thread Atash via Digitalmars-d
On Tuesday, 29 April 2014 at 06:22:34 UTC, Atash wrote: Let's say that we have a struct `A` that contains some template function named `fn` template-parameterized on its argument types: struct A { ... void fn(A)(auto ref A a) { ... } ... } I cannot get a handle on `fn` as an alias when