Skip to content
API Documentation
BastionGuard™
LifetimeGuard.hpp File Reference

Go to the source code of this file.

Namespaces

namespace  BastionGuard

Typedefs

using BastionGuard::AliveFlag = std::shared_ptr<std::atomic<bool>>

Functions

AliveFlag BastionGuard::make_alive_flag ()
template<typename Fn>
void BastionGuard::if_alive (const AliveFlag &alive, Fn &&fn)