Petr Mladek wrote:
However, note that I did not tell the whole story: :)
getCppuType<T> is currently defined in Type.hxx as calling
getCppuType(static_cast<T*>(0)), so it has exactly the same problem as
Any::operator<<=() (i.e., it does not work for a named UNO type if the
header for that type is only included after Type.hxx). My solution
would include adding explicit specializations of getCppuType<T> to all
the generated header files.
In light of that, I am not sure whether Petr's solution (of which I had
not thought yet) is not the more elegant one.
...which is broken logic: getCppuType<T> needs to be fixed too, anyway.
I could prepare patches, test it, ... The only problem is that any of the
solutions would need many changes, so I would like to prepare a solution that
is acceptable for you :-)
I think I will set up a CWS in which I change the definitions and uses
of getCppuType accordingly (note this includes fixing cppumaker)
sometime in the next couple weeks. Does that meet your needs?
-Stephan
Could you please decide what solution would you prefere?
Or do you need some more information, testing from my side?
Thanks for help.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]