Why are these inline and defined in a header?  That's almost always a bad idea, let the compiler make performance decisions.