config
c++ inline function