Initial commit

This commit is contained in:
Alexander Kobjolke 2025-03-13 22:36:51 +01:00
commit 4f4397b3e1
48 changed files with 2002 additions and 0 deletions

View file

@ -0,0 +1,20 @@
// -*- mode: c++ -*-
#pragma once
#include <memory>
#include <vector>
namespace atlas::collection {
template <typename T>
class VectorFactory {
public:
using base_type = VectorFactory<T>;
using value_type = std::vector<T>;
using product_type = std::shared_ptr<value_type>;
virtual ~VectorFactory() = default;
[[nodiscard]] virtual auto createAndFillVector(size_t const) -> product_type = 0;
};
}