added observer to repository and updated tests

This commit is contained in:
Sascha Kühl
2025-12-18 16:13:36 +01:00
parent 6307850721
commit 5e2d2ddde5
11 changed files with 286 additions and 66 deletions
+10
View File
@@ -0,0 +1,10 @@
#include "matador/object/observer.hpp"
namespace matador::object {
abstract_observer::abstract_observer(const std::type_index& ti)
: type_index_(ti) {}
const std::type_index& abstract_observer::index() const {
return type_index_;
}
} // namespace matador::object