Bolt  1.3
C++ template library with support for OpenCL
Static Public Member Functions | List of all members
ClCode< Type > Struct Template Reference

The definition of a type trait for the definition of a type, which could be arbitrarily complex. More...

#include <clcode.h>

Static Public Member Functions

static std::string get ()
 

Detailed Description

template<typename Type>
struct ClCode< Type >

The definition of a type trait for the definition of a type, which could be arbitrarily complex.

Defining a new type trait to return code associated with a type. This is meant to be specialized with the BOLT_CREATE_CLCODE. A type may have an arbitrarily complex definition (templated or not) and this returns the definition for the fully specified type.

Template Parameters
TypeA fully specified Type
Todo:
If this does not pan out, remove

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