|
Flow 3.0.0
Flow project: Full implementation reference.
|
#include "flow/util/uniq_id_holder.hpp"#include <boost/functional/hash/hash.hpp>#include <boost/io/ios_state.hpp>#include <iomanip>#include <type_traits>Go to the source code of this file.
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. | |
Functions | |
| Thread_token | flow::util::this_thread_unique_token () |
Returns a value conceptually similar to this_thread::get_id() – a thread ID – but that is never recycled for another thread, even after this one exits. More... | |
| std::ostream & | flow::util::operator<< (std::ostream &os, Thread_token val) |
Prints string representation of the given Thread_token to the given ostream: the low 32 bits of the underlying integer in fixed-width hex – 0x followed by exactly N (as of this writing N=8) zero-padded digits – a token being an identity, not a quantity. More... | |
| size_t | flow::util::hash_value (Thread_token val) |
Hashes the given Thread_token; making it, e.g., boost.unordered-compatible as a key out of the box. More... | |