Re: quantlib Handle compile error
Posted by
Kim Kuen Tang on
May 25, 2010; 9:21pm
URL: http://quantlib.414.s1.nabble.com/quantlib-Handle-compile-error-tp7722p7731.html
Bojan Nikolic schrieb:
> Kakhkhor Abdijalilov <
[hidden email]> writes:
>
>
>> Handle class doesn't implement the observer pattern. It is linked to
>> an instance of Observable, but the link is permanent. Because the link
>> is permanent, it doesn't provide any extra level of indirection.
>>
>
> I think this is precisely what RelinkableHandle class exists for, to
> decide who can relink handles and who can not.
>
> The concept is described in Luigi's document:
>
>
http://luigi.ballabio.googlepages.com/appendixA.pdf>
> And I've posted a simple example here:
>
>
http://www.bnikolic.co.uk/blog/ql-handle-1-ex.html>
Nice example, it explains more than a thousand words.
-Kim
>
> Best,
> Bojan
>
>
------------------------------------------------------------------------------
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users