templated ObjectAdapter::add() and createProxy()
Other than compiler support for templated member functions, is there a reason the obligatory uncheckedCast() can't be removed by adding new templated member functions that return the derived proxy? This would leave:
SomeClassPtr servant = new SomeClassI; SomeClassPrx proxy = adapter->addWithUUID(servant);Using type deduction the entire call could be typesafe and more concise. Perhaps these functions would be removed by the precompiler for older compilers like VS6.