libclcxx
C++ libraries for OpenCL
std::vector_n< T, N > Struct Template Reference

Detailed Description

template<typename T, unsigned int N>
struct std::vector_n< T, N >

Takes an integral or floating type T and an unsigned integer value N and provides the member variable type which is a vector type T with N elements.

Template Parameters
T- an integral or floating type designating the vector type.
N- an unsigned integer designating the number of elements.

Example:

// This will create a vector of type char with 3 elements

The documentation for this struct was generated from the following file:
std::vector_n
Definition: opencl_type_traits:648