中国开发网: 论坛: 程序员情感CBD: 贴子 74658
furnace
For my opinion, it is imposible to write template class in this way,
In the Constructor of this class,

objList(const K key)
{

??? how it is posiple?????
objFirst = (T *)this; // 1:
}

can The line 1: like this?, it hasn'e be defined as what Type T it is>

But this class is belong to a Open source Project (Common C++), It can be compiled and wildly used.
I don't mind if you r FAT.
I don't mind if you r UGLY.
I don't mind if you ACT CUTE.
But I can't STAND if you r FAT, UGLY and still ACT CUTE.

相关信息:


欢迎光临本社区,您还没有登录,不能发贴子。请在 这里登录