-
Notifications
You must be signed in to change notification settings - Fork 14.5k
Closed
Closed
Copy link
Labels
c++20clang:frontendLanguage frontend issues, e.g. anything involving "Sema"Language frontend issues, e.g. anything involving "Sema"confirmedVerified by a second partyVerified by a second partycrashPrefer [crash-on-valid] or [crash-on-invalid]Prefer [crash-on-valid] or [crash-on-invalid]
Milestone
Description
Example:
struct Key1 {};
template <int i>
struct Item {};
template <class... Ts>
struct List {};
template <class Key, class L>
struct TemplatedClass {
template <class... Items>
TemplatedClass(Key, Items...);
};
template <class Key, class...Items>
requires(sizeof(Key) > 0 && (sizeof(Items) && ...))
TemplatedClass(Key, Items...) -> TemplatedClass<Key, List<Items...>>;
template <class T>
struct HasTemplateParam {
template <class Key, class... Items>
using Alias = TemplatedClass<Key, List<Items...>>;
};
struct Mod1 : HasTemplateParam<Mod1> {
using Foo1 = decltype(Alias{Key1()});
};
Metadata
Metadata
Assignees
Labels
c++20clang:frontendLanguage frontend issues, e.g. anything involving "Sema"Language frontend issues, e.g. anything involving "Sema"confirmedVerified by a second partyVerified by a second partycrashPrefer [crash-on-valid] or [crash-on-invalid]Prefer [crash-on-valid] or [crash-on-invalid]