ViennaCL - The Vienna Computing Library  1.5.1
Public Types | Public Member Functions
scalartype_size_fun Struct Reference

Functor for returning the size of the underlying scalar type in bytes. More...

#include <utils.hpp>

Public Types

typedef vcl_size_t result_type
 

Public Member Functions

result_type operator() (float const &) const
 
result_type operator() (double const &) const
 
template<class T >
result_type operator() (T const &) const
 

Detailed Description

Functor for returning the size of the underlying scalar type in bytes.

Member Typedef Documentation

Member Function Documentation

result_type operator() ( float const &  ) const
inline
result_type operator() ( double const &  ) const
inline
result_type operator() ( T const &  ) const
inline

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