> Btw: If i want to inline a function, do i have to inline it in the prototype or in the actual declaration? Or both perhaps?

inline functions should actually be defined in the header file not on a cpp file.