Definition of C ++ Template

xiaoxiao2021-03-05  25

The Template Class defined in the VC6 can only display the class name in the Class View, which cannot be displayed, which is a VC's bug. There is no such phenomenon in DEV C .

Another member definition of the Template Class must be placed in a file. Looking at "C Primer" according to regularity, the declaration and definition is placed in .H and CPP, and the drums are always wrong: UnreSolved External Symbol. Later I saw that Thinking In C referred to not being separated. Is this C bug?

转载请注明原文地址:https://www.9cbs.com/read-35608.html

New Post(0)