Re: Adding a payoff function

Posted by Nicolas Magnette on
URL: http://quantlib.414.s1.nabble.com/Adding-a-payoff-function-tp2939p2952.html

Luigi,

You got it right! Thanks a lot.

Sincerely,

Nicolas

En réponse à Luigi Ballabio
<[hidden email]>:

> 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
>
>