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

Helper traits class (partial) for static compile time checking. More...

#include <HasMethodSignature.hpp>

Inheritance diagram for corsika::detail::has_method_signature< TReturn, TArgs >:

Detailed Description

template<typename TReturn, typename... TArgs>
struct corsika::detail::has_method_signature< TReturn, TArgs >

Helper traits class (partial) for static compile time checking.

Note, this is a poor replacement for C++20 concepts... they are eagerly awaited!

It defines the default body of a generic test function returning std::false_type.

In addition it defines the pattern for class-method matching with a return type TReturn and function arguments TArgs... . Right now both method signatures, "const" and "not const", are matched.

Definition at line 35 of file HasMethodSignature.hpp.


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