MCPcopy Create free account
hub / github.com/bshoshany/thread-pool / detect_destruct

Method detect_destruct

tests/BS_thread_pool_test.cpp:2619–2622  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2617{
2618public:
2619 explicit detect_destruct(std::atomic<bool>* object_exists_) : object_exists(object_exists_)
2620 {
2621 *object_exists = true;
2622 };
2623
2624 detect_destruct(const detect_destruct&) = delete;
2625 detect_destruct(detect_destruct&&) noexcept = delete;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected