openPMD-api
|
Purpose of this struct is to detect at compile time whether Action::template operator()<0>() exists. More...
#include <DatatypeHelpers.hpp>
Static Public Member Functions | |
static ReturnType | call (Action action, Args &&...) |
Purpose of this struct is to detect at compile time whether Action::template operator()<0>() exists.
If yes, call Action::template operator()<n>() with the passed arguments. If not, throw an error.
n | As in switchType(). |
ReturnType | As in switchType(). |
Action | As in switchType(). |
Placeholder | For SFINAE, set to void. |
Args | As in switchType(). |