// Utility class to atomically write outout to std::cout. All data streamed // the class is automatically sent to std::cout in the dtor. This is useful // to keep the output of multiple threads writing to std::Cout from // interleaving.
class AtomicCout { public:
~AtomicCout() {
flush();
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.