Aracılığıyla paylaş


short_vector Yapısı

short_vector, kısa vektörleri genel olarak programlamak için yararlı olan meta programlama tanımları sağlar.

Sözdizimi

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>;

Parametreler

_Scalar_type

_Boyut

Üyeler

Genel Tür Tanımları

Veri Akışı Adı Açıklama
type

Ortak Oluşturucular

Veri Akışı Adı Açıklama
short_vector::short_vector Oluşturucu

Devralma Hiyerarşisi

short_vector

Gereksinimler

Üst bilgi: amp_short_vectors.h

Ad Alanı: Concurrency::graphics

short_vector::short_vector Oluşturucu

short_vector();

Ayrıca bkz.

Concurrency::graphics Ad Alanı