What's the point on having

class duh {
public:
        int & foo() { return foo_; }
private:
        int foo_;
}

What's the advantage wrt. have a public foo? (I can only see disadvantages)

Alfredo


Reply via email to