Example for inline in cpp