Gromacs
2016.6
|
#include <cstddef>
#include <iterator>
#include <stdexcept>
#include <utility>
#include <vector>
#include "gromacs/utility/gmxassert.h"
Declares gmx::ArrayRef and gmx::ConstArrayRef.
Classes | |
struct | gmx::EmptyArrayRef |
Tag type to initialize empty array references. More... | |
class | gmx::ArrayRef< T > |
STL-like container for an interface to a C array (or part of a std::vector). More... | |
class | gmx::ConstArrayRef< T > |
STL-like container for non-mutable interface to a C array (or part of a std::vector). More... | |
Functions | |
template<typename T > | |
void | gmx::swap (ArrayRef< T > &a, ArrayRef< T > &b) |
Simple swap method for ArrayRef objects. More... | |
template<typename T > | |
void | gmx::swap (ConstArrayRef< T > &a, ConstArrayRef< T > &b) |
Simple swap method for ConstArrayRef objects. More... | |