Re:Simple software rasterizer in a single C++11 header file
by TheDong on Sunday February 22, 2015 @01:28PM
(#9090354)
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.
[ Parent
| on HN ]
Re:Simple software rasterizer in a single C++11 header file
by theyoungestgun on Sunday February 22, 2015 @08:57PM
(#9092154)
Assuming you mean friend in the standard cpp way, that's not exactly correct.
http://stackoverflow.com/questions/495021/why-can-templates-...