[SERVER-26025] Smart pointer with clone on copy Created: 08/Sep/16 Updated: 06/Dec/17 Resolved: 30/Mar/17 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Internal Code |
| Affects Version/s: | None |
| Fix Version/s: | 3.5.6 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Mira Carey | Assignee: | ADAM Martin (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Sprint: | Platforms 2017-03-06, Platforms 2017-04-17 | ||||||||
| Participants: | |||||||||
| Description |
|
When a type is always held by interface pointer, but has a clone method, it would be a nice improvement to provide a smart pointer with clone on copy. This would allow users embedding types like these to avoid writing custom life cycle methods |
| Comments |
| Comment by Githook User [ 30/Mar/17 ] |
|
Author: {u'username': u'adamlsd', u'name': u'ADAM David Alan Martin', u'email': u'adam.martin@10gen.com'}Message: This clonable pointer works like a unique_ptr, but upon |
| Comment by Githook User [ 22/Mar/17 ] |
|
Author: {u'username': u'renctan', u'name': u'Randolph Tan', u'email': u'randolph@10gen.com'}Message: Revert " This reverts commit 5d141bce7219aeb34d3de8cfae68d643bf9a3a16. |
| Comment by Githook User [ 22/Mar/17 ] |
|
Author: {u'username': u'adamlsd', u'name': u'ADAM David Alan Martin', u'email': u'adam.martin@10gen.com'}Message: This clonable pointer works like a unique_ptr, but upon |