Moved inline template to stdlib functions