generic_converter< T > Struct Template Reference

#include <routine.hpp>

List of all members.

Static Public Member Functions


Detailed Description

template<typename T>
struct mmx::generic_converter< T >

Definition at line 30 of file routine.hpp.


Member Function Documentation

static generic make_abstract ( const T x  )  [inline, static]

Definition at line 33 of file routine.hpp.

Referenced by mmx::make_abstract().

00033                                                    {
00034     // NOTE: returning as<generic,T> does not seem to call the appropriate
00035     // converter in the case when T=bool. A compiler bug?
00036     return new generic_concrete_rep<T> (x); }

static T make_concrete ( const generic x  )  [inline, static]

Definition at line 31 of file routine.hpp.

Referenced by mmx::make_concrete().

00031                                                    {
00032     return as<T,generic> (x); }


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

Generated on 6 Dec 2012 for basix by  doxygen 1.6.1