is any point(e.g faster compilation) of separate definition and declaration of default constructor/destructor? I met with such design and I don't understand why someone do not keep it just in .hpp file.
// A.hpp
class A
{
public:
A();
~A();
};
// A.cpp
#include "A.hpp"
A::A() = default;
A::~A() = default;