Use BOOST_FORCEINLINE inplace of inline