Stroika Library 3.0d16
 
Loading...
Searching...
No Matches
Finally.h File Reference
#include "Stroika/Foundation/StroikaPreComp.h"
#include <concepts>
#include <functional>
#include "Stroika/Foundation/Common/Common.h"
#include "Stroika/Foundation/Common/Concepts.h"
#include "Finally.inl"

Go to the source code of this file.

Namespaces

namespace  Stroika::Foundation
 
namespace  Stroika::Foundation::Execution
 

Functions

template<Common::INoThrowInvocable FUNCTION>
auto Stroika::Foundation::Execution::Finally (FUNCTION &&f) -> Private_::FinallySentry< FUNCTION >
 

Detailed Description

Finally utility - to approximate C++ try/finally support.
Note
Code-Status: Beta

TODO:

Definition in file Finally.h.