27 May
2009
27 May
'09
10:47 p.m.
I was thinking of using the new make_shared, but I'm already using a custom deleter (shared instances have private destructora and declare the custom deleter as a friend, and new instances are returned wrapped in shared_ptr, thus no explicit new or delete should be possible). Looking at make_shared, I can't see a way to use both at the same time. Am I out of luck? Thanks, --DD