From 80f9bc2c610be9dab80cbbe91f9160114ce1a0e1 Mon Sep 17 00:00:00 2001
From: Dmitri Naumov <github@naumov.de>
Date: Fri, 16 Apr 2021 16:23:45 +0200
Subject: [PATCH] [BL] Very simple dynamic span class.

Should be replaced with std::span when the compiler version
gcc >= 10, msvc >= 19.26 are available for development.
---
 BaseLib/DynamicSpan.h | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 BaseLib/DynamicSpan.h

diff --git a/BaseLib/DynamicSpan.h b/BaseLib/DynamicSpan.h
new file mode 100644
index 00000000000..d0e86d7ec91
--- /dev/null
+++ b/BaseLib/DynamicSpan.h
@@ -0,0 +1,18 @@
+/**
+ * \file
+ * \copyright
+ * Copyright (c) 2012-2021, OpenGeoSys Community (http://www.opengeosys.org)
+ *            Distributed under a Modified BSD License.
+ *              See accompanying file LICENSE.txt or
+ *              http://www.opengeosys.org/project/license
+ */
+
+namespace BaseLib
+{
+template <typename T>
+struct DynamicSpan
+{
+    T* data;
+    std::size_t size;
+};
+}  // namespace BaseLib
-- 
GitLab