Hi Thorsten,

> My proposal now is, to add both a templatized copy constructor and
> assignment operator to uno::Reference, such that example 1 works:
> ...

As much as I appreciate convenience while writing code, I never felt too
bother with using the .get()-workaround. On the other hand, I somewhat
fear the zillion lines of output probably emitted by the compiler when
it comes to an assigment  "xFoo = xBar" where XBar is *not* a base class
of XFoo, but the compiler nonetheless tries to match the several hundred
potential assignment instantiations. Which makes me reluctant to this
change ...

Ciao
Frank

-- 
- Frank Schönheit, Software Engineer         [EMAIL PROTECTED] -
- Sun Microsystems                      http://www.sun.com/staroffice -
- OpenOffice.org Database                   http://dba.openoffice.org -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to