Scope guards style guide

Elias Batek (0xEAB) desisma at heidel.beer
Sun Mar 30 22:01:58 UTC 2025


On Sunday, 30 March 2025 at 21:47:22 UTC, Elias Batek (0xEAB) 
wrote:
> Currently, Phobos mixes all variants.

Updates results:

- `scope\((?:(?:exit)|(?:failure)|(?:success))\).+$` 387 matches 
in 46 files
- `scope \((?:(?:exit)|(?:failure)|(?:success))\).+$`: 18 matches 
in 9 files
- `scope\((?:(?:exit)|(?:failure)|(?:success))\)$`: 59 matches in 
15 files
- `scope \((?:(?:exit)|(?:failure)|(?:success))\)$`: 15 matches 
in 7 files

(Match counts for `~master` might be slightly different.)


More information about the Digitalmars-d mailing list