ViennaCL - The Vienna Computing Library: viennacl/meta/result_of.hpp File Reference

ViennaCL - The Vienna Computing Library 1.7.1 Free open-source GPU-accelerated linear algebra and solver library. |

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Namespaces
result_of.hpp File Reference

A collection of compile time type deductions. More...

`#include <string>`
`#include <fstream>`
`#include <sstream>`
`#include "viennacl/forwards.h"`
`#include <vector>`
`#include <map>`

Go to the source code of this file.

## Classes
struct | viennacl::result_of::alignment< T >
| Retrieves the alignment from a vector. Deprecated - will be replaced by a pure runtime facility in the future. More...
struct | viennacl::result_of::size_type< T >
| Generic meta-function for retrieving the size_type associated with type T. More...
struct | viennacl::result_of::value_type< T >
| Generic helper function for retrieving the value_type associated with type T. More...
struct | viennacl::result_of::cpu_value_type< T >
| Helper meta function for retrieving the main RAM-based value type. Particularly important to obtain T from viennacl::scalar<T> in a generic way. More...
struct | viennacl::result_of::cl_type< T >
| Metafunction for deducing the OpenCL type for a numeric type, e.g. float -> cl_float. More...

## Namespaces
| viennacl
| Main namespace in ViennaCL. Holds all the basic types such as vector, matrix, etc. and defines operations upon them.
| viennacl::result_of
| Namespace containing many meta-functions.

## Detailed Description

A collection of compile time type deductions.

Definition in file result_of.hpp.