Y
Hacker News
new
|
ask
|
show
|
jobs
by
fch42
507 days ago
Also ... the lifetime issue here doesn't preclude the use of stack-based variables. A "local" variable of main() is "as good as" a global/static to pretty much all parts of the program.