Login  Register

Re: Re: why Boost is better?

Posted by Ashish Kulkarni-6 on May 09, 2005; 11:02pm
URL: http://quantlib.414.s1.nabble.com/Re-why-Boost-is-better-tp3771p3773.html

I think that the main reason would be the fantastic boost::shared_ptr 
support (which isn't part of the STL, which has only std::auto_ptr).

See http://www.boost.org/libs/smart_ptr/shared_ptr.htm

Except for that, I don't think that any other major functionality of 
boost is used. In theory it is possible to use a different shared 
pointer implementation (and remove dependency on boost), but debugging 
memory leaks is scary -- it's far better to use boost's implementation.

[hidden email] wrote:

> I have a naive question: why Boost is better than STL?
> Please don't kill me -- I just switched from hardcore Java development 
> and started working with the newer QuantLib version.  Before I worked 
> with STL based QuantLib version.
>  
>  
> Thanks,
> George

Greetings!

ICICI Infotech is now 3i Infotech.

The e-mail addresses of the company's employees have been changed to <existing name>@3i-infotech.com. You are requested to take note of this new e-mail ID and make use of the same in future

"This e-mail message may contain confidential, proprietary or legally privileged information. It should not be used by anyone who is not the original intended recipient. If you have erroneously received this message, please delete it immediately and notify the sender. The recipient acknowledges that 3i Infotech or its subsidiaries and associated companies, (collectively "3i Infotech"), are unable to exercise control or ensure or guarantee the integrity of/over the contents of the information contained in e-mail transmissions and further acknowledges that any views expressed in this message are those of the individual sender and no binding nature of the message shall be implied or assumed unless the sender does so expressly with due authority of 3i Infotech. Before opening any attachments please check them for viruses and defects."