Login  Register

Re: quantlib Handle compile error

Posted by Bojan Nikolic on May 25, 2010; 8:50pm
URL: http://quantlib.414.s1.nabble.com/quantlib-Handle-compile-error-tp7722p7730.html


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


Best,
Bojan

--
Bojan Nikolic          ||          http://www.bnikolic.co.uk

------------------------------------------------------------------------------

_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users