A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://cplusplus.com/reference/mutex/lock_guard/~lock_guard/ below:

public member function

<mutex>

std::lock_guard::~lock_guard
~lock_guard();

Destroy lock_guard (unlocking mutex)

Destroys the lock_guard object.

Before that, the destructor calls the unlock member of the mutex object it manages.

Note that this does not destroy the managed mutex object.



Data races The managed mutex object is accessed and modified (as an atomic operation, causing no data races).

Exception safetyNo-throw guarantee: never throws exceptions.

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4