class foo {
foo();
something() {
int a = 5;
return a;
}
}
and this:
class foo {
foo();
something();
}
foo::something() {
int a = 5;
return a;
}
I've heard that implementations inside the class definition are automatically inlined. Is that true? Is that the only difference?