Login  Register

allocating an object of abstract class type error

Posted by Jerry Jin on Jan 12, 2017; 2:15am
URL: http://quantlib.414.s1.nabble.com/allocating-an-object-of-abstract-class-type-error-tp17968.html

Hello, QuantLib community

I'm getting error 'allocating an object of abstract class type error' sometimes while working with some classes

For example:

return new CmsSpreadCouponPricer(correlation);

How do I know which class is abstract and can't allocate memory?

Thanks!

Regards
Jerry

------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users