Gavin Doughtie on 2 Jun 2003 20:54:01 -0000 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
[ALACPP] boost binding a const ref? |
So, if I have code that looks like this: class Foo { void doSomething(SomeType const& param) { // do Something } }; and some more code that looks like this: ... Foo thing; MyDoSomethingPtr = boost::bind<SomeType const&>(&Foo::doSomething, this, _1); ... It doesn't really want to compile. Man, I forget things so fast these days... Gavin _______________________________________________ alacpp mailing list alacpp@xxxxxxxxxxx http://lists.ellipsis.cx/mailman/listinfo/alacpp