FreePOOMA  2.4.1
EngineFunctorScalar< T, Tag > Struct Template Reference

Users must specialize this struct for all tags. More...

#include <EngineFunctor.h>


Detailed Description

template<class T, class Tag>
struct EngineFunctorScalar< T, Tag >

Users must specialize this struct for all tags.

The specialization needs to contain Type_t and an apply method:

 template<class T>
 struct EngineFunctorScalar<T, MyTag >
 {
   typedef ... Type_t;
   inline static
   Type_t apply(const T &s, const MyTag &t)
   {
     ...
   }
 };
 

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