benedictkao / UTD

Unstandard Library for basic data structures
2 stars 0 forks source link

Template header files are too large #38

Open benedictkao opened 1 year ago

benedictkao commented 1 year ago

We can still separate declaration and definition for template classes by putting definitions in a .tpp file and including at the end of the header file. Ref: https://stackoverflow.com/questions/495021/why-can-templates-only-be-implemented-in-the-header-file