|
Gromacs
2018.6
|
#include <cstddef>#include <array>#include <iterator>#include <stdexcept>#include <utility>#include <vector>#include "gromacs/utility/gmxassert.h"
Include dependency graph for arrayref.h:
This graph shows which files directly or indirectly include this file:Declares gmx::ArrayRef.
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 of T (or part of a std::vector<T, A> or std::array<T>). More... | |
Functions | |
| template<typename T > | |
| ArrayRef< typename std::conditional < std::is_const< T >::value, const typename T::value_type, typename T::value_type >::type > | gmx::makeArrayRef (T &c) |
| Create ArrayRef from container with type deduction. More... | |
| template<typename T > | |
| ArrayRef< const typename T::value_type > | gmx::makeConstArrayRef (const T &c) |
| Create ArrayRef to const T from container with type deduction. More... | |
| template<typename T > | |
| void | gmx::swap (ArrayRef< T > &a, ArrayRef< T > &b) |
| Simple swap method for ArrayRef objects. More... | |
1.8.5