Gromacs  2022.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
template_mp.h File Reference
#include <cassert>
#include <cstddef>
#include <utility>
#include "gromacs/compat/mp11.h"
+ Include dependency graph for template_mp.h:
+ This graph shows which files directly or indirectly include this file:

Description

Declares utilities for template metaprogramming.

Author
Roland Schulz rolan.nosp@m.d.sc.nosp@m.hulz@.nosp@m.inte.nosp@m.l.com

Functions

template<class Function >
auto gmx::dispatchTemplatedFunction (Function &&f)
 Helper function to select appropriate template based on runtime values. More...