Implement Clone for Value #3
Comments
Just to make sure I understand this correctly (after scanning the code), this issue is about implementing |
The
In this case, I’d like to implement the We’ll have to clone any smart pointers in the
|
@felipecsl discovered in GH-58 that cloning a
If we are to safely implement One crazy idea @felipecsl and I had offline was to fan
I'll turn GH-17 into a tracking ticket and create sub tickets for each @felipecsl does this comment capture the discussion we had? Did I miss anything? |
it does, sounds good to me! |
If a
Value
'sruby_type
ismrb_vtype::MRB_TT_DATA
, we need to clone theRc
smart pointer that it wraps. Otherwise, clone themrb_value
directly.The text was updated successfully, but these errors were encountered: