Kyopro Library
 
読み取り中…
検索中…
一致する文字列を見つけられません
OffsetVector< T > 構造体テンプレート

#include "offset_vector.hpp"

OffsetVector< T > の継承関係図

公開メンバ関数

 OffsetVector ()=default
 
 OffsetVector (int lo, int hi, T init)
 添字として区間 [lo, hi] の値を取れる配列を宣言する
 
T & operator[] (int i)
 
operator[] (int i) const
 

公開変数類

int offset =0
 

詳解

template<typename T>
struct OffsetVector< T >

offset_vector.hpp6 行目に定義があります。

構築子と解体子

◆ OffsetVector() [1/2]

template<typename T>
OffsetVector< T >::OffsetVector ( )
default

◆ OffsetVector() [2/2]

template<typename T>
OffsetVector< T >::OffsetVector ( int lo,
int hi,
T init )
inline

添字として区間 [lo, hi] の値を取れる配列を宣言する

引数
init初期値

offset_vector.hpp12 行目に定義があります。

参照先 offset.

関数詳解

◆ operator[]() [1/2]

template<typename T>
T & OffsetVector< T >::operator[] ( int i)
inline

offset_vector.hpp18 行目に定義があります。

参照先 offset.

◆ operator[]() [2/2]

template<typename T>
T OffsetVector< T >::operator[] ( int i) const
inline

offset_vector.hpp23 行目に定義があります。

参照先 offset.

メンバ詳解

◆ offset

template<typename T>
int OffsetVector< T >::offset =0

offset_vector.hpp7 行目に定義があります。


この構造体詳解は次のファイルから抽出されました: