binding a member variable?
Is it possible to have a member variable in a bind expression or do I need to have an accessor method for the variable? E.g. I have the following structure and I want to use min_elemnt to find the point with the lowest m_Z value in a vector. class Point_c { public: double m_X; double m_Y; double m_Z; } Thanks Russell
Sorry. Guess I should have just tried it (or RTFM)!!!!! Thanks Russell Russell Hind wrote:
Is it possible to have a member variable in a bind expression or do I need to have an accessor method for the variable?
E.g. I have the following structure and I want to use min_elemnt to find the point with the lowest m_Z value in a vector.
class Point_c { public: double m_X; double m_Y; double m_Z; }
Thanks
Russell
participants (1)
-
Russell Hind