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 T -- If you look at a thing nine hundred and ninety-nine times, you are perfectly safe; if you look at it the thousandth time, you are in frightful danger of seeing it for the first time. -- G. K. Chesterton