basix_doc 0.1
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().

                                                   {
    // NOTE: returning as<generic,T> does not seem to call the appropriate
    // converter in the case when T=bool. A compiler bug?
    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().

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

The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines