builder progress (attribute, object and constraint class in todo.md)

This commit is contained in:
Sascha Kühl
2025-11-21 15:58:33 +01:00
parent 34eaeca0bb
commit 78abf16f28
10 changed files with 392 additions and 85 deletions
+2 -2
View File
@@ -18,7 +18,7 @@ public:
template < typename Type >
static std::shared_ptr<repository_node> make_node(repository& repo, const std::string& name) {
auto node = std::shared_ptr<repository_node>(new repository_node(repo, name, typeid(Type)));
auto node = std::make_shared<repository_node>( repo, name, typeid( Type ) );
primary_key_resolver resolver;
auto pk_info = resolver.resolve<Type>();
@@ -74,7 +74,7 @@ public:
void update_name(const std::string& name);
template <typename Type>
object_info_ref<Type> info() const {
[[nodiscard]] object_info_ref<Type> info() const {
return std::ref(static_cast<const object_info<Type>&>(*info_));
}