Automatically separate class definitions from declarations?

后端 未结 4 1819
遥遥无期
遥遥无期 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:14

    Try using precompiled headers. I know GCC and MSVC support this feature. Usage is vender-specific, though.

提交回复
热议问题