diff --git a/BaseLib/DynamicSpan.h b/BaseLib/DynamicSpan.h new file mode 100644 index 0000000000000000000000000000000000000000..d0e86d7ec91b207e7d7c2a7f6fcf3cdc4edeed4a --- /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