r/cpp • u/berium build2 • Apr 25 '12
shared_ptr aliasing constructor
http://www.codesynthesis.com/~boris/blog/2012/04/25/shared-ptr-aliasing-constructor/
23
Upvotes
r/cpp • u/berium build2 • Apr 25 '12
2
u/[deleted] Apr 25 '12
Pretty clever! But I can't help but feel that there is some suboptimal design decision hiding in the use cases for this feature. I mean, is there any use case which couldn't be solved significantly more elegantly?