I have problems understanding the following C++ code. Can somebody please explain to me the meaning of the line 3? What does ": lmp(ptr)" before constructer mean?
I cannot make sense out of it
class Pointers {
public:
Pointers(TYPE* ptr) : lmp(ptr)
{}
virtual ~Pointers() {}
protected:
TYPE* lmp;
};
}