Поделиться через


Структура short_vector

short_vector предоставляет определения метапрограммирования, которые полезны для программирования коротких векторов в универсальном формате.

Синтаксис

template<
    typename _Scalar_type,
    int _Size
>
struct short_vector;
template<>
struct short_vector<unsigned int, 1>;
template<>
struct short_vector<unsigned int, 2>;
template<>
struct short_vector<unsigned int, 3>;
template<>
struct short_vector<unsigned int, 4>;
template<>
struct short_vector<int, 1>;
template<>
struct short_vector<int, 2>;
template<>
struct short_vector<int, 3>;
template<>
struct short_vector<int, 4>;
template<>
struct short_vector<float, 1>;
template<>
struct short_vector<float, 2>;
template<>
struct short_vector<float, 3>;
template<>
struct short_vector<float, 4>;
template<>
struct short_vector<unorm, 1>;
template<>
struct short_vector<unorm, 2>;
template<>
struct short_vector<unorm, 3>;
template<>
struct short_vector<unorm, 4>;
template<>
struct short_vector<norm, 1>;
template<>
struct short_vector<norm, 2>;
template<>
struct short_vector<norm, 3>;
template<>
struct short_vector<norm, 4>;
template<>
struct short_vector<double, 1>;
template<>
struct short_vector<double, 2>;
template<>
struct short_vector<double, 3>;
template<>
struct short_vector<double, 4>;

Параметры

_Scalar_type

_Размер

Участники

Общедоступные определения типов

Имя Описание
type

Открытые конструкторы

Имя Описание
Конструктор short_vector::short_vector

Иерархия наследования

short_vector

Требования

Заголовок: amp_short_vectors.h

Пространство имен: параллелизм::графика

Конструктор short_vector::short_vector

short_vector();

См. также

Пространство имен Concurrency::graphics