#pragma once #include #include #include namespace Fig { struct InterfaceType { TypeInfo type; std::vector methods; bool operator==(const InterfaceType &other) const { return type == other.type; // only compare type info (chain -> typeinfo.id) } }; }