ice icon indicating copy to clipboard operation
ice copied to clipboard

Add support for weak_ptr in C++11?

Open bernardnormier opened this issue 6 years ago • 0 comments

We should consider adding a metadata "cpp:weak" that remaps shared_ptr to weak_ptr to let the user avoid strong cycles. This metadata could apply to:

  • operation parameters of type class
  • struct and class data members of type class (I don't see how a cycle could be possible with an exception)
  • sequence<V> and dictionaries<K, V>, where V is a class

ICE-8546

bernardnormier avatar Apr 26 '18 21:04 bernardnormier