Opened 8 years ago
Closed 8 years ago
#10780 closed Feature Requests (fixed)
Add polymorphic_pointer_cast and polymorphic_pointer_downcast
Reported by: | Antony Polukhin | Owned by: | Antony Polukhin |
---|---|---|---|
Milestone: | Boost 1.58.0 | Component: | lexical_cast |
Version: | Boost Development Trunk | Severity: | Problem |
Keywords: | Cc: |
Description
Now when smart pointers are widely used it's time to think about adding polymorphic_cast
and polymorphic_downcast
for smart pointers.
Change History (2)
comment:1 by , 8 years ago
comment:2 by , 8 years ago
Milestone: | To Be Determined → Boost 1.58.0 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Great thanks to Boris Rasin for providing polymorphic_pointer_downcast implementation, tests and docs.
polymorphic_pointer_cast
was added by this commit, some related changes were also applied in this commit.