Hacker News new | ask | show | jobs
by compiler-guy 683 days ago
Yes of course. Sometimes the compiler can tell. But the original question feels to me more like “Shouldn't the compiler deduce restrict for you?”