|
From: Mark K. <mk...@co...> - 2004-06-09 20:47:55
|
Christian Schoenebeck wrote: > Hi! > > I'm currently thinking about adding a dependency in LS to the boost library: > > http://www.boost.org > > It has many convenient, portable classes and templates and part of it will > make it into the upcoming C++ standard one day. > > One thing I could really need at the moment is this: > > http://www.boost.org/boost/optional.hpp > > because the classes I designed for the driver configuration issue have > optional return values, means a method might return a value but doesnt have > to (e.g. keywords DEPENDS, RANGE_MIN, RANGE_MAX etc. from the new LSCP > draft), see http://www.boost.org/libs/optional/doc/optional.html for more > about this topic. > > So the question now is do you think its worth to add this dependency or should > I just rewrite / copy the relevant part of "this optional" template for our > purpose? I mean it might be overkill to add this lib only for the small > amount I need (about 30 lines) but maybe we need something else from this lib > one day? > > CU > Christian > Well, I just looked at boost from a user's perspective. It approaches 7MB of code. I don't know how often that library changes, but I don't like the idea of having to build it very often to keep up to date with your work. Maybe you can copy the 30+ lines for now, but plan on adding the dependency later when LS is more stable and closer to some sort of real usable release? Thanks for taking input. Cheers, Mark |