Re: Missing reference to Bond::dayCounter() method

Posted by Luigi Ballabio on
URL: http://quantlib.414.s1.nabble.com/Missing-reference-to-Bond-dayCounter-method-tp3846p3847.html

On Jun 17, 2005, at 1:32 PM, Mirko Raso wrote:

>      after defining my bond, later on  my code I need to access to 
> the dayCounter used by the bond itself.
>
>  Looking at the Bond Class definition I see that the implementation of
> the method is missing.
>  So, adding the following 3 lines to bond.hpp file
>
>     inline const DayCounter& Bond::dayCounter() const {
>          return dayCount_;
>      }
>
>  and rebuilding the QuantLib library  I can do my job.
>  So, this method is really missing or I did any mistake ?

Mirko,
        it is missing indeed---our mistake. I'll fix it before next release.

Grazie,
        Luigi