|
Gromacs
2026.0-dev-20251114-850eace
|
#include <testutils/include/testutils/naming.h>
Single-component variant for a formatting callable for variables of type T.
When the user wants to supply a formatting function for the name of a GoogleTest parameters of an arbitrary non-enum type, a callable taking a parameter of type T is required. This variant can always contain it, whether it is a function, functor, or lambda.
Public Types | |
| using | Variant = std::variant< std::function< std::string(T)>> |
1.8.5