$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Firingme (firingme_at_[hidden])
Date: 2003-10-11 01:59:42
I have a templated class named Point3D as following :
template < typename T >
class Point3D
{
public:
typedef T PointType ;
Point3D* SetX(const T& x) { m_X = x ; return this ; }
Point3D* SetY(const T& y) { m_Y = y ; return this ; }
Point3D* SetZ(const T& z) { m_Z = z ; return this ; }
T m_X,m_Y,m_Z ;
};
Now, I want make a boost::function point to the fun: Point3D::SetX,
How can I write my code ?