https://gitlab.opengeosys.org/ogs/ogs.git
Raw File
Tip revision: 630512429f6c51c3604a222571ef617057c65c17 authored by Thomas Fischer on 18 June 2021, 09:15:39 UTC
[GL/Grid] Precompute vector size to avoid reallocations.
Tip revision: 6305124
DynamicSpan.h
/**
 * \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
back to top