Using existing C++ class with managed template if class in namespace
Hi,
does anyone know make an existing C++ class that is declared within nested namespaces into a Coherence managed template class?
I have a class and declared within reuters::transactions::tds::cache
called CacheD3ContextTerminalData.
I declare the <<, == and hash functions for it.
I've tried variants on either calling 'using namespace reuters::transactions::tds::cache;' or passing in the fully qualified class name to these functions.
If I use the 'using namespace' the binary operator is not found in Management.hpp.
If I try passing in the fully qualified class name everywhere I get the same problem - an addtionally if I try and pass it into COH_REGISTER_MANAGED_CLASS the macro seems to truncate the classname at 'reuters'
If I declare CacheD3ContextTerminalData outside of any namespaces it is ok.
But isn't the idea to support existing classes?
Many thanks if anyone knows how to do this.
Joe