$\require{cancel}$
class SillyT {
public:
SillyT();
private
int x;
public:
SillyT(const SillyT & other);
protected:
void CopyMemory();
...
}
class FooT {
private:
int x;
string word;
...
FooT::FooT(int xval) {
x = xval;
word = "hello";
}
class FooT {
private:
int x{7};
string word{"Hello"};
}
class FooT {
private:
int x;
string word;
...
FooT::FooT(int xval): x{xval}, word{"hello"} {}