Mr.Docs
Mr.Docs The C++ Alliance
Download

Mr.Docs

    • Home
    • Demos
    • Installation
    • Getting Started
    • The Configuration File
    • Documenting the Code
    • Generators
    • Design Notes
    • Library Reference
    • Contributor’s Guide
    • License
Mr.Docs master
  • Mr.Docs
    • master
    • develop
    • v0.8.0
    • v0.0.5
    • v0.0.4
    • v0.0.3
    • v0.0.2
    • v0.0.1
  • Mr.Docs
  • mrdocs::ScopeExitRestore::ScopeExitRestore
master develop v0.8.0 v0.0.5 v0.0.4 v0.0.3 v0.0.2 v0.0.1

mrdocs::ScopeExitRestore::ScopeExitRestore

Constructors

Synopses

Declared in <mrdocs/Support/ScopeExit.hpp>

Restore ref to its previous value when the scope ends

explicit
ScopeExitRestore(T& ref);

» more...

Temporarily set ref to next and restore it when the scope ends

template<std::convertible_to<T> T2>
explicit
ScopeExitRestore(
    T& ref,
    T2 next);

» more...

Created with MrDocs