openPMD-api
Static Public Member Functions | List of all members
openPMD::detail::CallUndefinedDatatype< n, ReturnType, Action, Placeholder, Args > Struct Template Reference

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 &&...)
 

Detailed Description

template<int n, typename ReturnType, typename Action, typename Placeholder, typename... Args>
struct openPMD::detail::CallUndefinedDatatype< n, ReturnType, Action, Placeholder, 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.

Template Parameters
nAs in switchType().
ReturnTypeAs in switchType().
ActionAs in switchType().
PlaceholderFor SFINAE, set to void.
ArgsAs in switchType().

The documentation for this struct was generated from the following file: