Skip to content

RFC: replace the type keyword #5752

Closed
Closed
@thestinger

Description

@thestinger

Calling this type is very confusing and has led to many newcomers thinking that it makes a new type when really it's just to save on typing (ha!) by making an alias.

I'm tempted to say it should just be like C++11 where you can do this:

using foo = int;
template<typename T> bar = std::set<T, std::greater<T>>;

If it's not feasible to extend use this way, calling it alias would still really be an improvement.

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