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

#include <state_traits.h>

Collaboration diagram for smacc::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 smacc::HasStandardOnExit< T >

Definition at line 44 of file state_traits.h.

Member Typedef Documentation

◆ type

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

Definition at line 54 of file state_traits.h.

Member Enumeration Documentation

◆ anonymous enum

template<typename T >
anonymous enum
Enumerator
value 

Definition at line 55 of file state_traits.h.

56 {
57 value = sizeof(func<T>(0)) == sizeof(char)
58 };

Member Function Documentation

◆ func() [1/2]

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

◆ func() [2/2]

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

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