diff --git a/src/indexer.hh b/src/indexer.hh index e1d577ab..83c74005 100644 --- a/src/indexer.hh +++ b/src/indexer.hh @@ -131,6 +131,9 @@ void Reflect(BinaryWriter &visitor, SymbolRef &value); void Reflect(BinaryWriter &visitor, Use &value); void Reflect(BinaryWriter &visitor, DeclRef &value); +template +using VectorAdapter = std::vector>; + template struct NameMixin { std::string_view Name(bool qualified) const { auto self = static_cast(this); @@ -144,7 +147,8 @@ template struct NameMixin { } }; -struct FuncDef : NameMixin { +template