Boost logo

Boost :

From: Matthew Vogt (mvogt_at_[hidden])
Date: 2004-03-17 17:09:19

John Torjo <john.lists <at>> writes:

> How about std::ostream ;) ?
> Seriously, depending on your application, you can have so many
> possibilities to implement logging using std::ostream streams.
> For instance, you can implement thread-safety in less than 80 lines of code.

Why is there no standard idiom for thread-safe access to an ostream?

Are there any caveats to the use of streams with this protection?


Boost list run by bdawes at, gregod at, cpdaniel at, john at