Flow 3.0.0
Flow project: Full implementation reference.
Classes | Namespaces
thread_lcl_obj.hpp File Reference
#include "flow/util/util_fwd.hpp"
#include <type_traits>

Go to the source code of this file.

Classes

class  flow::util::Thread_local_obj_deinit_safe< Obj_t, Tag_t >
 A thread_local object of type Obj, in effect, but with death-aware access: this_thread_obj_or_null() returns the calling thread's instance – or null, once that instance has been destroyed during the thread's thread_local deinit. More...
 
struct  flow::util::Thread_local_obj_deinit_safe< Obj_t, Tag_t >::Guarded_obj
 Holds the actual per-thread Obj; its destruction records itself in the adjacent dead-flag. More...
 

Namespaces

namespace  flow
 Catch-all namespace for the Flow project: A collection of various production-quality modules written in modern C++17, originally by ygoldfel.
 
namespace  flow::util
 Flow module containing miscellaneous general-use facilities that don't fit into any other Flow module.