Ice 3.8
C++ API Reference
Loading...
Searching...
No Matches

◆ uncheckedCast() [3/4]

template<typename Prx, std::enable_if_t< std::is_base_of_v< ObjectPrx, Prx >, bool > = true>
std::optional< Prx > Ice::uncheckedCast ( const std::optional< ObjectPrx > & proxy)

Creates a new proxy from an existing proxy.

Parameters
proxyThe source proxy (can be nullopt).
Returns
A new proxy with the requested type, or nullopt if the source proxy is nullopt.
Remarks
This is a purely local operation.

Definition at line 48 of file ProxyFunctions.h.