Home Comments

Suggest adding a typedefed ProxyType in slice2cpp?

Yunqiao YinYunqiao Yin Member Yin YunqiaoOrganization: BaosteelProject: real time process control system ✭✭
Happy new year!

When I create a template class ,such as:
template <typename T>
class  ProxyWrapper
{
public:
    T::ProxyType  proxy();     
};
a STL style typedef : ProxyType will help me do these things easier. Otherwise I cann't get proxy type from T because T's proxy declared in another namespace IceProxy.......

Comments

  • bernardbernard Jupiter, FLAdministrators, ZeroC Staff Bernard NormierOrganization: ZeroC, Inc.Project: Ice ZeroC Staff
    Hi Yunqiao Yin,

    Thanks for the suggestion! We'll add this typedef in a future Ice release.

    Best regards,
    Bernard
  • dwaynedwayne St. John's, NewfoundlandMember Dwayne BooneOrganization: ZeroC, Inc.Project: Internet Communications Engine
    Hi,

    This feature will be available in Ice 3.1

    Regards,
    Dwayne
Sign In or Register to comment.