18 #ifndef SYNC_OSTREAM_H 19 #define SYNC_OSTREAM_H 24 std::unique_lock<std::mutex> print_lock;
25 std::ostream* ostream;
35 *ostream << std::forward<T>(item);
40 #endif // SYNC_OSTREAM_H sync_ostream & operator<<(T &&item)
Definition: sync_ostream.h:34
Definition: sync_ostream.h:23
sync_ostream(std::ostream &)
Definition: sync_ostream.cpp:25
sync_ostream & operator=(const sync_ostream &)=delete