-

   rss_forum_sources_ru

 - e-mail

 

 -

 LiveInternet.ru:
: 29.07.2007
:
:
: 80

:


goto vs break & continue

, 19 2020 . 14:07 +
applegame:
D_KEY @
. , .
:
applegame @
.
. :) , , .
D_KEY @
, . ?
. ? - , RAII- scope(exit). RAII- .
D_KEY @
, , .
. , . D:
    mutex.locked({
    ...
    });
, -. : - , . -, , RAII-. . , , , , ( unused variable). , . .
D_KEY @
"".
, " ". :)
, . , , Zig RAII - . : RAII- , . :)
, . - , ? :D
.
D_KEY @
scope(exit) bracket pattern, bracket pattern, scope(exit), ? scope(exit) , try...catch,
, , scope(exit) finally, .
-, . scope(exit) , , , return.
, , , . - .

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

:  

: [1] []
 

:
: 

: ( )

:

  URL