I have come across a few examples while researching the Poco Net library, and have no clue what this is called, or why it is even used:
class TestClass {
public:
TestClass() : _length(0){}
private:
int _length;
I've got 2 questions about this:
How is the function inheriting from a variable, and
why does the variable have a parameter (0)?
Thank you.