Is it true even if I mark to_unsafe as protected?
to_unsafe
protected
To be honest if users call something called to_unsafe they only have themselves to blame. I just didn't want it to be called expr as that might encourage segfault-prone code.
expr
Hm, good point. Apparently it doesn't work if to_unsafe is protected or private, but I think it should. I'll ask to change that.
private
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Is it true even if I mark
to_unsafe
asprotected
?To be honest if users call something called
to_unsafe
they only have themselves to blame. I just didn't want it to be calledexpr
as that might encourage segfault-prone code.Hm, good point. Apparently it doesn't work if
to_unsafe
isprotected
orprivate
, but I think it should. I'll ask to change that.