Problem with abstrat class

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Problem with abstrat class

tarpanelli@libero.it
Hello,

I've added into ql/processes a new class with is the same as
blackscholesprocess class with a very small change to handle a quanto
adjustment.
I can build quantlib but when I go to use this class into my project it
returns me the error
"cannot instantiate abstract class".

any suggestion?

thanks in advance,
regards,
Paolo

------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to
best implement a security strategy that keeps consumers' information secure
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev
Reply | Threaded
Open this post in threaded view
|

Re: Problem with abstrat class

Luigi Ballabio
On Tue, 2011-01-11 at 08:17 +0100, [hidden email] wrote:
> I've added into ql/processes a new class with is the same as
> blackscholesprocess class with a very small change to handle a quanto
> adjustment.
> I can build quantlib but when I go to use this class into my project it
> returns me the error
> "cannot instantiate abstract class".
>
> any suggestion?

Check that you provided implementations for all pure virtual methods
defined in the base classes.

Luigi


--

The wisdom of the wise and the experience of the ages are perpetuated
by quotations.
-- Benjamin Disraeli



------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to
best implement a security strategy that keeps consumers' information secure
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev