Use scope guards in the documentation and examples

Merge request reports

Loading