摘要:模板类的函数定义最好写在类体里面或者写在紧紧跟随类体定义的后面,如果写在CPP里就会发生"warning LNK4221: no public symbols found; archive member will be inaccessible" 警告.当然还有一种方法是写在.inc文件里,在头文件的最后include 这个inc文件.算半个隐藏方法吧.
        阅读全文
        
            posted @ 2008-10-25 12:31
当了解的越多,就越会发现自己的浅薄
            posted @ 2008-10-25 12:31
            posted @ 2008-10-25 12:05
            posted @ 2008-10-25 11:29
            posted @ 2008-10-25 11:24
            posted @ 2008-10-25 11:20
            posted @ 2008-10-24 15:21