Skip to content
Snippets Groups Projects
Commit 80f9bc2c authored by Dmitri Naumov's avatar Dmitri Naumov
Browse files

[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.
parent 2e95ebed
No related branches found
No related tags found
No related merge requests found
/**
* \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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment