Opened 14 years ago
Closed 12 years ago
#1925 closed Feature Requests (wontfix)
sp_techniques suggestion
Reported by: | Dave Abrahams | Owned by: | Peter Dimov |
---|---|---|---|
Milestone: | To Be Determined | Component: | smart_ptr |
Version: | Boost 1.35.0 | Severity: | Optimization |
Keywords: | Cc: |
Description
It might be good to show how you can generate a shared_ptr referring to a sub-object of the object that's actually managed. Something like:
shared_ptr<Inner> f(shared_ptr<Outer> p) { return shared_ptr<Inner>(p, &p->inner); }
Change History (3)
comment:1 by , 14 years ago
Milestone: | Boost 1.36.0 → Boost 1.37.0 |
---|---|
Status: | new → assigned |
comment:2 by , 14 years ago
Milestone: | Boost 1.37.0 → To Be Determined |
---|
comment:3 by , 12 years ago
Resolution: | → wontfix |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.