Re: Adding a payoff function

Posted by Luigi Ballabio-2 on
URL: http://quantlib.414.s1.nabble.com/Adding-a-payoff-function-tp2939p2951.html

On 2004.05.19 11:57, Nicolas Magnette wrote:
> > besides declaring it, did you actually define operator()
> > somewhere?
>
> Actually not as I do not have any use for it.

Nicolas,
        you don't, but the compiler does :)
Add a trivial body to the method and your problem should disappear.

Later,
        Luigi