2011-02-07から1日間の記事一覧
QTのmakeで何故かtemplateクラスを継承したクラスで継承する親クラスのメンバ変数にアクセスするとき明示化しないとundefinedエラーになる。つまり template<class T> class CParent{ T m_nT; }; template<class T> class CChild: public CParent<T>{ void func(){ T& t = CParent<T></t></t></class></class>…