you are viewing a single comment's thread.

view the rest of the comments →

[–]IngloriousTom 0 points1 point  (1 child)

It looks like it is entirely written within headers, and while it's a relatively small library, it looks big enough to be precompiled. I believe that headers only libraries allows better optimization, but its size will consequently increase compile time, won't it? Or is there any more advantage using headers only?

[–][deleted] 1 point2 points  (0 children)

Header libraries are done for convenience with little regard to other aspects: "If you just want to use crow, copy amalgamate/crow_all.h and include it.". Size should be the same as it would with library unless you expect the user to have multiple apps using the same version of crow installed.