Implications of template declaration & definition

前端 未结 5 708
刺人心
刺人心 2020-12-16 00:43

From what I understand template classes and template functions (for the most part) must be declared and defined in the same header file. With that said:

  1. Are

5条回答
  •  轮回少年
    2020-12-16 01:19

    A further problem is the compile times every time you change the .h (especially if it is included in a lot of places)

提交回复
热议问题