I've been looking at some sample code that is similar to a program I'm working on, and I came across a function prototype in the class header that threw me off. Can anyone here explain the syntax of this?
template<class Type>
class Row
{
public:
Row(int cols=0):row(NULL) {SetRowSize(cols);}
...
After Row(int cols=0), what does the :row(NULL) do? I'm confused, anyone able to help?
template<class Type>
class Row
{
public:
Row(int cols=0):row(NULL) {SetRowSize(cols);}
...
After Row(int cols=0), what does the :row(NULL) do? I'm confused, anyone able to help?