SMACC2
Loading...
Searching...
No Matches
Classes | Public Types | Static Private Member Functions | List of all members
smacc2::HasStandardOnExit< T > Class Template Reference

#include <state_traits.hpp>

Collaboration diagram for smacc2::HasStandardOnExit< T >:
Collaboration graph

Classes

struct  Check
 

Public Types

enum  { value = sizeof(func<T>(0)) == sizeof(char) }
 
typedef HasStandardOnExit type
 

Static Private Member Functions

template<typename U >
static char func (Check< U, &U::onExit > *)
 
template<typename U >
static int func (...)
 

Detailed Description

template<typename T>
class smacc2::HasStandardOnExit< T >

Definition at line 65 of file state_traits.hpp.

Member Typedef Documentation

◆ type

template<typename T >
typedef HasStandardOnExit smacc2::HasStandardOnExit< T >::type

Definition at line 75 of file state_traits.hpp.

Member Enumeration Documentation

◆ anonymous enum

template<typename T >
anonymous enum
Enumerator
value 

Definition at line 76 of file state_traits.hpp.

77 {
78 value = sizeof(func<T>(0)) == sizeof(char)
79 };

Member Function Documentation

◆ func() [1/2]

template<typename T >
template<typename U >
static int smacc2::HasStandardOnExit< T >::func (   ...)
staticprivate

◆ func() [2/2]

template<typename T >
template<typename U >
static char smacc2::HasStandardOnExit< T >::func ( Check< U, &U::onExit > *  )
staticprivate

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