Skip to content

Better to_string for cpp_dependent_type #148

Closed
@deadlocklogic

Description

@deadlocklogic

Dependent types should be named as: typename dependee::name but in the current implementation only the name appears when calling cppast::to_string.

void write_dependent(code_generator::output& output, const cpp_dependent_type& type)
{
    output << token_seq(type.name());
}

Maybe use the dependee type in this snippet for better naming?
Thnaks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions