OZO 「お象」
Boost.Asio and libpq based asynchronous PostgreSQL unofficial header-only C++17 client library.
ozo::thread_safety< enabled > Struct Template Reference

#include <ozo/core/thread_safety.h>

Description

template<bool enabled>
struct ozo::thread_safety< enabled >

defines admissibility to use in multithreaded environment without additional synchronization

Represents binary state. True enables memory sychronization for underlying types to support safe access in multithreaded environment. False disables memory synchronization.

Template Parameters
enabled— binary state.

Inherits bool_constant< enabled >.