Login  Register

Re: Visual C++ settings

Posted by enrico.sirola on Nov 04, 2003; 2:53am
URL: http://quantlib.414.s1.nabble.com/Visual-C-settings-tp10388p10391.html

Ciao Gigi,
sorry for the delay...

>>>>> "Gigi" == Luigi Ballabio <[hidden email]> writes:

    Gigi> Ciao Enrico,

[...]

    >> By the way, I also completely agree with the three proposals
    >> you posted some time ago (boost smart pointers, flattening name
    >> spaces - how about shortening it too? QL:: or ql:: seems nice,
    >> and template lattice framework).

    Gigi> Well, you can agree with the first two (and as for the
    Gigi> second, we can use namespace aliases, so we can have
    Gigi> QuantLib, QL and ql too) but as for the third, I was in
    Gigi> doubt between two alternatives---which one is the one you're
    Gigi> agreeing with?

finally i had the time to read again the original message and took a
(quick) look at the code.
While looking at the use cases you wrote, it doesn't seems that the
code using the template framework is/should be more complicated from a
user point of view. What we should ask ourselves for is: do we need to
switch from a pricing engine to another at runtime? If not, I would go
for the template framework (I'm not a template enthusiast - I just
like the +300% speed gain).
So I'm afraid I responded your question with another question.
Hope it helps,
enrico

--
Enrico Sirola <[hidden email]>