Re: How to use std.bind?

2011-01-18 Thread Andrej Mitrovic
On 1/18/11, Lars T. Kyllingstad wrote: > On Mon, 17 Jan 2011 17:03:15 +, Sean Eskapp wrote: > >> I used to use boost::bind all the time, but std.bind has me stumped, as >> I keep getting static asserts with a cryptic "argument has no >> parameters" message. At this point, the code is just: >>

Re: How to use std.bind?

2011-01-18 Thread Lars T. Kyllingstad
On Mon, 17 Jan 2011 17:03:15 +, Sean Eskapp wrote: > I used to use boost::bind all the time, but std.bind has me stumped, as > I keep getting static asserts with a cryptic "argument has no > parameters" message. At this point, the code is just: > > class Foo > { > void bar(int i) { writ

Re: How to use std.bind?

2011-01-17 Thread BlazingWhitester
On 2011-01-17 19:03:15 +0200, Sean Eskapp said: I used to use boost::bind all the time, but std.bind has me stumped, as I keep getting static asserts with a cryptic "argument has no parameters" message. At this point, the code is just: class Foo { void bar(int i) { writeln(i); } } void