collection resolver progress

This commit is contained in:
2026-01-27 08:14:05 +01:00
parent 1cf39d0ef1
commit b6cabbe3ed
19 changed files with 143 additions and 57 deletions
@@ -8,6 +8,19 @@
#include <vector>
namespace matador::object {
class abstract_collection_resolver {
public:
virtual ~abstract_collection_resolver() = default;
[[nodiscard]] const std::type_index& type() const { return type_; }
protected:
explicit abstract_collection_resolver(const std::type_index& ti) : type_(ti) {}
public:
const std::type_index type_;
};
template<typename Type>
class collection_resolver : public abstract_type_resolver {
public: