diff --git a/src/indexer.hh b/src/indexer.hh index fb762ac1..62401ab3 100644 --- a/src/indexer.hh +++ b/src/indexer.hh @@ -143,6 +143,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); @@ -156,7 +159,8 @@ template struct NameMixin { } }; -struct FuncDef : NameMixin { +template