def remove_cv(type_):
nake_type = remove_alias(type_)<EOL>if not is_const(nake_type) and not is_volatile(nake_type):<EOL><INDENT>return type_<EOL><DEDENT>result = nake_type<EOL>if is_const(result):<EOL><INDENT>result = remove_const(result)<EOL><DEDENT>if is_volatile(result):<EOL><INDENT>result = remove_volatile(result)<EOL><DEDENT>if is_const(result):<EOL><INDENT>result = remove_const(result)<EOL><DEDENT>return result<EOL>
removes const and volatile from the type definition