Y
Hacker News
new
|
ask
|
show
|
jobs
by
viraptor
586 days ago
It's also similar to C#'s "using ...;" without a block. Syntax sugar there rather than RAII, but looks the same.
1 comments
zigzag312
585 days ago
C#'s using can be used without a block. It disposes the resource at the end of a current scope.
link