libclcxx
C++ libraries for OpenCL
std::scalar_type< T > Struct Template Reference

Detailed Description

template<typename T>
struct std::scalar_type< T >

Provides the member variable type equal to the scalar type of a vector T.

Template Parameters
T- a vector type to provide a scalar of.

Example:

// This will create a scalar type of the vector ulong16, which is ulong

The documentation for this struct was generated from the following file:
std::scalar_type
Definition: opencl_type_traits:568