Should I declare the member initializer list for a class in the constructor declaration:
class A
{
public:
A(int data) : theData(data);
};
or in the constructor definition:
A::A(int data) : theData(data)
{
// code...
};
or does it not matter? If you do it a certain way, why?