On Tue, 2 Dec 2014 18:40:45 -0800 "H. S. Teoh via Digitalmars-d" <digitalmars-d@puremagic.com> wrote:
> On Wed, Dec 03, 2014 at 04:31:11AM +0200, ketmar via Digitalmars-d wrote: > > On Tue, 2 Dec 2014 18:18:26 -0800 > > "H. S. Teoh via Digitalmars-d" <digitalmars-d@puremagic.com> wrote: > [...] > > > How do you take the address of specific overload, though? > > > > declare the necessary function type instead of auto: > > > > void function (int) pfoo = &foo; > > Ah, of course. I'm getting too used to type inference. :-P me too. the first thing i tried was `&foo(0)` to hint the type.
signature.asc
Description: PGP signature