Logo Search packages:      
Sourcecode: poco version File versions  Download package

template<typename ValueType >
ValueType* UnsafeAnyCast ( Any operand) [friend]

The "unsafe" versions of AnyCast are not part of the public interface and may be removed at any time. They are required where we know what type is stored in the any and can't use typeid() comparison, e.g., when our types may travel across different shared libraries.

Definition at line 260 of file Any.h.

    return &static_cast<Any::Holder<ValueType>*>(operand->_content)->_held;

Generated by  Doxygen 1.6.0   Back to index