Gromacs
2024.3
|
#include <type_traits>
#include <utility>
#include "gromacs/mdspan/mdspan.h"
#include "gromacs/utility/arrayref.h"
Declares MultiDimArray.
Classes | |
class | gmx::MultiDimArray< TContainer, Extents, LayoutPolicy > |
Multidimensional array that manages its own memory. More... | |
Typedefs | |
template<class... > | |
using | gmx::detail::void_t = void |
Same as std::void_t from C++17. | |
Functions | |
template<class TContainer , class Extents > | |
constexpr MultiDimArray < TContainer, Extents > ::const_iterator | gmx::begin (const MultiDimArray< TContainer, Extents > &multiDimArray) |
Free MultiDimArray begin function addressing its contiguous memory. | |
template<class TContainer , class Extents > | |
constexpr MultiDimArray < TContainer, Extents > ::iterator | gmx::begin (MultiDimArray< TContainer, Extents > &multiDimArray) |
Free MultiDimArray begin function addressing its contiguous memory. | |
template<class TContainer , class Extents > | |
constexpr MultiDimArray < TContainer, Extents > ::const_iterator | gmx::end (const MultiDimArray< TContainer, Extents > &multiDimArray) |
Free MultiDimArray end function addressing its contiguous memory. | |
template<class TContainer , class Extents > | |
constexpr MultiDimArray < TContainer, Extents > ::iterator | gmx::end (MultiDimArray< TContainer, Extents > &multiDimArray) |
Free MultiDimArray end function addressing its contiguous memory. | |
template<class TContainer , class Extents > | |
void | gmx::swap (MultiDimArray< TContainer, Extents > &a, MultiDimArray< TContainer, Extents > &b) noexcept |
Swap function. | |
Variables | |
template<typename T > | |
constexpr bool | gmx::detail::is_resizable_v = is_resizable<T>::value |
Type has a resize member function callable with size_t argument. | |