Ticket #11046 (confirmed enhancement)
wxSharedPtr - static, const, dynamic cast
| Reported by: | net147 | Owned by: | |
|---|---|---|---|
| Priority: | low | Milestone: | |
| Component: | base | Version: | 2.9-svn |
| Keywords: | shared_ptr std | Cc: | |
| Blocked By: | Patch: | no | |
| Blocking: |
Description
static, const and dynamic casting would be a useful feature that is currently missing in wxSharedPtr but present in the boost::shared_ptr implementation.
See: http://www.boost.org/doc/libs/1_39_0/libs/smart_ptr/shared_ptr.htm.
The static_pointer_cast, const_pointer_cast, dynamic_pointer_cast methods in boost::shared_ptr allow this.
Change History
Note: See
TracTickets for help on using
tickets.
