Y
Hacker News
new
|
ask
|
show
|
jobs
by
112233
8 days ago
interesting. how would I use contracts to avoid returning (or passing to a function that can persist the value) a span or string_view that refers to local or temporary value? or a lambda that captures such value by reference?