Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You can do similar things with it, but GATs can't live on their own like that. Instead they are always a member of some trait, so a closer comparison would be with something like this:

    class C {
        template <class>
        using T = ...;
    };


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: