我刚刚下载了STL源代码,我注意到STL模板类的所有定义都包含在.h文件中.函数定义的实际源代码位于.h文件而不是.cpp/.c文件中.这是什么原因?
http://www.sgi.com/tech/stl/download.html
c++ templates stl class
c++ ×1
class ×1
stl ×1
templates ×1