def remove_declarated(type_):
type_ = remove_alias(type_)<EOL>if isinstance(type_, cpptypes.elaborated_t):<EOL><INDENT>type_ = type_.base<EOL><DEDENT>if isinstance(type_, cpptypes.declarated_t):<EOL><INDENT>type_ = type_.declaration<EOL><DEDENT>return type_<EOL>
removes type-declaration class-binder :class:`declarated_t` from
    the `type_`

    If `type_` is not :class:`declarated_t`, it will be returned as is