Automatically separate class definitions from declarations?

后端 未结 4 1823
遥遥无期
遥遥无期 2020-12-19 21:35

I am using a library that consists almost entirely of templated classes and functions in header files, like this:

// foo.h
template

        
4条回答
  •  暖寄归人
    2020-12-19 22:16

    C++0x will fix your compile time issues with extern templates. I don't know an automatic way to do what you ask, though.

提交回复
热议问题