From: Peter C. <pet...@wg...> - 2010-06-16 16:22:00
|
Hi Nando, I think so. This looks similar to my workaround except that it is done only in the QuantlibObjects Layer, invoking the Quantlib member function from there. This is much better than my solution and exactly what I need. Makes me happy, really. Thanks a lot, best regards Peter "Ferdinando M. Ametrano" <ferdinando@ametr An ano.net> Peter Caspers <pet...@wg...> 16.06.2010 18:01 Kopie qua...@li... Thema Re: Re: [Quantlib-dev] Return object in QLXL Hi Peter > What I do not manage is to export a member function in another object of > type A which returns a shared_ptr to another type B. here it is, namely a SwapRateHelper returning a shared_ptr<VanillaSwap> using its own SwapRateHelper::swap() method: |