Login  Register

Re: small improvements

Posted by Luigi Ballabio on Jul 13, 2010; 12:53pm
URL: http://quantlib.414.s1.nabble.com/small-improvements-tp13335p13338.html

On Mon, 2010-07-12 at 15:47 -0500, Kakhkhor Abdijalilov wrote:
> >We should define P though. Do you care to give it a try?
> I would, but never used doxygen before.

No problem, just send me the text.


> >> 5.    instrument.hpp
> >>       "virtual" can be omitted from the declaration of 'performCalculations'.
>
> >No, that's intentional.  We wanted to leave it virtual so that one can
> >override the engine mechanism if needed.
>
> It is not a bug, but more like pedantic adherence to the coding style.
> performCalculations is declared virtual in LazyObject.

Sorry, I though you meant to declare it as non-virtual.  You're right,
it's redundant.  It doesn't hurt though.

Luigi


--

When I was a boy of fourteen, my father was so ignorant I could hardly
stand to have the old man around. But when I got to be twenty-one, I
was astonished at how much the old man had learned in seven years.
-- Mark Twain



------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev