The Beman Project Logo The Beman Project
Home Docs Libraries Talks Blog

beman.scope

    • Project
      • Overview
      • Beman Library Maturity Model
      • Beman Standard
      • Mission
      • FAQ
      • Governance
      • Code of Conduct
    • Libraries
      • optional
        • Overview
        • Guide
        • API Reference
      • execution
        • Overview
        • Guide
        • Resources
        • API Reference
      • task
        • Overview
        • Resources
        • Examples
        • API Reference
      • cache_latest
        • Overview
        • Development
        • API Reference
      • copyable_function
        • Overview
        • Development
        • API Reference
      • cstring_view
        • Overview
        • Guide
        • API Reference
      • monadics
        • Overview
        • Tutorial
        • Design Rationale
        • API Reference
      • scope
        • Overview
        • Resources
        • API Reference
      • transform_view
        • Overview
        • Intro
        • API Reference
beman.scope latest
  • Beman Project
    • latest
  • beman.cache_latest
    • latest
  • beman.copyable_function
    • latest
  • beman.cstring_view
    • latest
  • beman.execution
    • latest
  • beman.monadics
    • latest
  • beman.optional
    • latest
  • beman.scope
    • latest
  • beman.task
    • latest
  • beman.transform_view
    • latest
  • beman.scope
  • Libraries
  • scope
  • Resources

Resources

Resources

This file contains a variety of links to prior art in this area including related libraries and videos.

Papers

  • TS design and wording paper p0052 - Generic Scope Guard and RAII Wrapper for the Standard Library

  • TS adoption paper p1411 - Please reconsider for C++20

  • N3677 A Proposal to Add additional RAII Wrappers to the Standard Library

  • N4152 uncaught_exceptions - Sutter

Implementations

  • TS example of scope_exit

  • GSL final_action - part of core guidelines

  • gsl-lite finally, on_return, on_error

  • Boost.scope

  • scope_guard based on Andrei Alexandrescu and Petru Marginean article

  • Windows Implementation Libraries (WIL) - scope_exit

  • GCC libstdc++-v3 experimental/scope implementation

  • LLVM - ADT/ScopeExit.h

  • libcxx - scope_guard.h

  • Folly - ScopeGuard.h

  • BDE (Bloomberg) - ScopeExit.h

Videos

  • Peter Sommerlad - Woes of Scope Guards and Unique_Resource - 5+ years in the making

  • Andrei Alexandrescu - Declarative Control Flow

Community

Discord Discourse

More

GitHub

Copyright (C) The Beman Project. Built with Antora.