Frank Schönheit - Sun Microsystems Germany wrote:
Hi Stephan,
*Title* getCppuType<> template deprecated
which reminds me on a "for convenience" wish:
Would it be possible to have more "static_type()"s? That is, currently
it's already unnecessary to use getCppuType for interfaces, since the
generated header files have a "static Type XFoo::static_type()" member.
Would it be possible to add this to structs, exceptions, enums, and
probably even namespaces containing constant groups (the latter might
not make sense :)?
Hm, now that I had to introduce yet another "UNO type ->
com::sun::star::uno::Type" functionality, namely cppu::UnoType, I think
that is the best one (as it avoids the sal_uInt16/sal_Unicode
ambiguity), and should be prefered over all the other stuff.
(static_type for interfaces was originally added for a very specific
reason---"to make code in cppuhelper Standard C++ compliant"---and not
as a general replacement for getCppuType.)
Do you see any advantages a more general static_type would have over
cppu::UnoType?
-Stephan
Ciao
Frank
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]