furnace ·
·
阅读: 628
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.