Advantage
The getters and setters will be inlined so they will have no function overhead.
Disadvantage
You will be unable to make any changes to your getter and setter without having to recompile all code using your class. This is especially bad when the implementation of your class lies in a different DLL or .so file.
I personally do not like placing getters and setters in the header files.