Flow 1.0.1
Flow project: Full implementation reference.
Classes | Namespaces | Functions
util.cpp File Reference
#include "flow/util/util.hpp"

Go to the source code of this file.

Classes

class  flow::util::Duration_units_beautified
 Internally used class that enables some of the activities of beautify_chrono_ostream() API. 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.
 

Functions

boost::chrono::microseconds flow::util::time_since_posix_epoch ()
 Get the current POSIX (Unix) time as a duration from the Epoch time point. More...
 
void flow::util::beautify_chrono_ostream (std::ostream *os)
 Sets certain chrono-related formatting on the given ostream that results in a consistent, desirable output of durations and certain types of time_points. More...
 
size_t flow::util::deep_size (const std::string &val)
 Estimate of memory footprint of the given value, including memory allocated on its behalf – but excluding its shallow sizeof! – in bytes. More...