|
|
|
|
|
by geezerjay
2516 days ago
|
|
> I should clarify. Being able to add headers to a project in C++ is easy but adding translation units is not (usually). Where do you see a difference? >This encourages header-only libraries even when they are not really appropriate, increasing compilation times etc. Thus assertion makes no sense. Headers only declare interfaces, and you only require headers-only libraries if you're deep in template and template metaprogramming land. Evenso it's quite trivial to package and distribute those libraries just like any other library |
|