Gromacs  2020.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
arraysize.h File Reference
+ This graph shows which files directly or indirectly include this file:

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.