Fellows, please consider this patch for SmartPtr.h r1029 which allows dynamic casts of the SmartPtr.
Dynamic casting feature for SmartPtrs
An example of the dynamic cast feature for the SmartPtrs
Discussion here: https://sourceforge.net/projects/loki-lib/forums/forum/93010/topic/3450443
Patch provided by Aleksandr Vinokurov was tested and accpeted. I made only a few minor changes to the patch for SmartPtr. StrongPtr required more extensive changes to both StrongPtr class and each ownership policy class.
I made a few tests of dynamic-casting with both StrongPtr and SmartPtr.
Thank You Aleksandr Vinokurov!
Fixed in revisions 1052 and 1053.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.