-

   rss_forum_sources_ru

 - e-mail

 

 -

 LiveInternet.ru:
: 29.07.2007
:
:
: 80

:


goto vs break & continue

, 19 2020 . 11:32 +
applegame:
Qraizer @
RAII? scope(), ?
, , RAII-. . scope: scope1, scope2, scope3... - , ? -.
Qraizer @
. , scope()...
, "", , . :D - .
Qraizer @
, .
- , scope(...) RAII-. . scope(...), RAII.
Qraizer @
, .
, " ", " " . scope(exit) RAII-. , " , ." , .
Qraizer @
, . __attribute__((__cleanup__())) . , C? , .
goto? cleanup scope(exit).
, scope(exit). . auto?


korvin @
Zig,
, . Zig, - . . , .

https://forum.sources.ru/index.php?showtopic=362619&view=findpost&p=3834602

:  

: [1] []
 

:
: 

: ( )

:

  URL