Gromacs  2019
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
arraysize.h File Reference

Description

Provides asize() function for calculating the static size of an array at compile time.

Functions

template<typename T , int N>
constexpr int asize (T(&)[N])
 Calculates the number of elements in a static array at compile time.