CORSIKA  @c8_version@
The framework to simulate particle cascades for astroparticle physics
corsika::has_method_getCrossSection< TProcess, TReturn, TArgs > Struct Template Reference

traits test for InteractionProcess::getCrossSection method. More...

#include <InteractionProcess.hpp>

Inheritance diagram for corsika::has_method_getCrossSection< TProcess, TReturn, TArgs >:

Static Public Attributes

template<class T >
static decltype(testSignature(&T::template getCrossSection< TArgs... >)) test (std::nullptr_t)
 templated parameter option
 
template<class T >
static decltype(testSignature(&T::getCrossSection)) test (std::nullptr_t)
 non templated parameter option
 

traits results

using type = decltype(test< std::decay_t< TProcess > >(nullptr))
 
static const bool value = type::value
 

Detailed Description

template<class TProcess, typename TReturn, typename... TArgs>
struct corsika::has_method_getCrossSection< TProcess, TReturn, TArgs >

traits test for InteractionProcess::getCrossSection method.

Definition at line 98 of file InteractionProcess.hpp.


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