You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am a big fan of bringing unique_ptr to GNU C. But I think there is a difference beetween your repo and the cpp standard: reading this https://en.cppreference.com/w/cpp/memory/unique_ptr/operator%3D
What happens if I reassign a value ? Is this GNU-C undefined behaviour ?
Reading the exemples, you never return unique_ptr from functions. Again, if it is not possible, it is a key difference with c++ unique_ptr.
The text was updated successfully, but these errors were encountered:
I am a big fan of bringing unique_ptr to GNU C. But I think there is a difference beetween your repo and the cpp standard: reading this https://en.cppreference.com/w/cpp/memory/unique_ptr/operator%3D
What happens if I reassign a value ? Is this GNU-C undefined behaviour ?
Reading the exemples, you never return unique_ptr from functions. Again, if it is not possible, it is a key difference with c++ unique_ptr.
The text was updated successfully, but these errors were encountered: