CORSIKA  @c8_version@
The framework to simulate particle cascades for astroparticle physics
corsika::detail::implements_mixin< Mixin, T > Struct Template Reference

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

#include <ImplementsMixin.hpp>

Public Types

using type = decltype(test(std::declval< T & >()))
 

Static Public Attributes

static constexpr bool value = type::value
 

Detailed Description

template<template< typename > typename Mixin, typename T>
struct corsika::detail::implements_mixin< Mixin, T >

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

This method checks whether a given class implements a particular mixin - this is particularly useful in the media heirarchy that utilizes mixins for the interface definition.

Definition at line 28 of file ImplementsMixin.hpp.


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