Closed cfis closed 7 months ago
As mentioned in https://github.com/jasonroelofs/rice/issues/192#issuecomment-1878105656, std::smart_ptr handling is incorrect. When Rice wraps a std::smart_ptr it calls std::move on a reference, thus invalidating the passed in pointer.
std::smart_ptr
std::move
As mentioned in https://github.com/jasonroelofs/rice/issues/192#issuecomment-1878105656,
std::smart_ptr
handling is incorrect. When Rice wraps astd::smart_ptr
it callsstd::move
on a reference, thus invalidating the passed in pointer.