
On Thu, Mar 25, 2010 at 7:30 PM, Zachary Turner <divisortheory@gmail.com> wrote:
So anyway, one of the recurring questions that pops up over and over and over is that of whether or not a library should reinvent the wheel, or use some data structure / class from some other library.
Things are much more complicated. Take for example something as basic as BOOST_STATIC_ASSERT: it is more complex than it could be because it supports lots of broken compilers and this injects a lot of headers into a client library. That is pure overhead for users of that library if the library doesn't support the broken compilers anyway. In that case, a simple typedef int a_must_be_less_than_42[a<42]; is preferable IMO. Emil Dotchevski Reverge Studios, Inc. http://www.revergestudios.com/reblog/index.php?n=ReCode