Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
dthul
5y ago
0 comments
Save
Share
While technically true, the documentation makes it very clear that Deref should only be implemented for smart pointers and never fail. So no allocations in practice.
0 comments
1 comments · 1 top-level
top
newest
oldest
pjmlp
5y ago
Ah problem solved then, we just need to document very clear that C code should not corrupt memory, how did I never thought of it.
j
/
k
navigate · click thread line to collapse