Y
Hacker News
new
|
ask
|
show
|
jobs
by
TheDong
4140 days ago
The reason Boost is headers only is you have to be a header to be generic. Implementations outside of headers have to friend / otherwise be not truly generic.
2 comments
theyoungestgun
4139 days ago
Assuming you mean friend in the standard cpp way, that's not exactly correct.
http://stackoverflow.com/questions/495021/why-can-templates-...
link
jgh
4140 days ago
Yes, good point. You're right about that.
link
http://stackoverflow.com/questions/495021/why-can-templates-...