次の方法で共有


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

_Size

メンバー

パブリック typedef

名前 説明
type

パブリック コンストラクター

名前 説明
short_vector::short_vector コンストラクター

継承階層

short_vector

必要条件

ヘッダー: amp_short_vectors.h

名前空間: Concurrency::graphics

short_vector::short_vector コンストラクター

short_vector();

関連項目

Concurrency::graphics 名前空間