Is there any difference (no matter how tiny is) between those three methods of defaulting the constructor of a class:
Directly in the header using {}:
//foo.h
class foo{
public:
foo(){}
}
Directly in the header using default keyword:
//foo.h
class foo{
public:
foo()=default;
}
In the cpp using {}
//foo.h
class foo{
public:
foo();
}
//foo.cpp
#include "foo.h"
foo::foo(){}