Re:The Next Step for Generics
by nine_k on Tuesday June 16, 2020 @04:36PM
(#23543759)
Well, T can be a pointer / reference here.
[ Parent
| on HN ]
That wouldn't change anything to Result<T>'s implicit safety properties. "safe + unsafe == unsafe" - to have a meaningful discussion we should focus on the safe part, else it's always possible to bring up the argument of "but you can do ((char*)&whatever)[123] = 0x66;"