eb3.c

来自「gcc-you can use this code to learn somet」· C语言 代码 · 共 12 行

C
12
字号
// Build don't link:#include <complex>template<class T>class Vec {public:    Vec() { data = new T; }    Vec<T> split() { Vec<T> tmp; operator=(tmp); return tmp; }    void operator=(const Vec<T> &v) { data = new T; }    T *data;};template class Vec<std::complex<double> >;

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?