-
Unfortunately, I know of no place that offers a patch for this particular need. I checked the patches already submitted to Loki, and neither of them mention the upcasting issue. Someday, I might look at how Boost provides the upcasting ability and duplicate that trick inside Loki. If you come up with a method first, feel free to submit it as a patch.
Thanks!
Rich.
09:19PM UTC on Jun 28 2009 in Loki
-
Unfortunately, neither Loki's SmartPtr nor StrongPtr has an upcast mechanism at this time. I've heard of occasional requests for an upcast conversion constructor, and there is even a request to add this feature. (Feature #1447423)
https://sourceforge.net/tracker/?func=detail&aid=1447423&group_id=29557&atid=396647
- Rich.
01:42AM UTC on Jun 26 2009 in Loki
-
Fixed bug by changing order of operands.
Fixed in revision 1013.
Added more comparison tests in revision 1014 to show bug was fixed.
06:06AM UTC on Apr 11 2009 in Loki
-
rich_sposato committed revision 1014 to the Loki SVN repository, changing 1 files.
06:02AM UTC on Apr 11 2009 in Loki
-
rich_sposato committed revision 1013 to the Loki SVN repository, changing 1 files.
06:01AM UTC on Apr 11 2009 in Loki
-
Assigning bug to me since I intend to fix this one.
10:55PM UTC on Apr 10 2009 in Loki
-
rich_sposato committed revision 1012 to the Loki SVN repository, changing 2 files.
09:56PM UTC on Mar 31 2009 in Loki
-
Fixed in revision 995.
Replaced logical-and with logical-or inside if statement. Also made error message more descriptive.
07:14AM UTC on Mar 04 2009 in Loki
-
rich_sposato committed revision 995 to the Loki SVN repository, changing 1 files.
07:13AM UTC on Mar 04 2009 in Loki
-
I will look into this.
04:30PM UTC on Mar 03 2009 in Loki