📄 instantiate.cc.txt
字号:
// ******************************************************************// instantiate.cc -- instantiate templatized classes using// explicit instantiation declarations// Created by Todd K. Moon, Electrical and Computer Engineering Dept.// Utah State University. Copyright January 1999// *****************************************************************// This file indicates explicitly to the compiler which templates are// instantiated. Unfortunately, this requires explicit information about the // class definitions; hence the .cc files are included here.#include "polynomialT.cc"#include "ModAr.h"template class polynomialT<double>;template class polytemp<double>;template class polynomialT<ModAr>;template class polytemp<ModAr>;// template ostream& operator<< (ostream &os, const polynomialT<double> &p1);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -