Gromacs  2016.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
gmx::EmptyArrayRef Struct Reference

#include <gromacs/utility/arrayref.h>

Description

Tag type to initialize empty array references.

This type (together with appropriate constructors in ArrayRef and ConstArrayRef) allows initializing any array reference to an empty value without explicitly specifying its type. This is convenient when calling a function that takes an array reference, where constructing an empty reference explicitly would otherwise require specifying the full array reference type, including the template parameter.


The documentation for this struct was generated from the following file: