good day~
is it okay to make smth like:
or & makes no sense/useless in this case?
thanks.
is it okay to make smth like:
Code:
class Foo
typedef boost::shared_ptr<Foo> FooPtr;
class MyFunctor{
const FooPtr [b]&[/b]_pFooPtr;
public:
MyFunctor(const FooPtr &p) : _pFooPtr(p) {}
bool operator()(const FooPtr &other){
//bla bla
}
};
thanks.
Comment