On Mon, 2006-10-02 at 00:19 +0200, Richard Levitte - VMS Whacker wrote:
> In message <[EMAIL PROTECTED]> on Sat, 30 Sep 2006 14:34:15 -0500, Timothy
> Brownawell <[EMAIL PROTECTED]> said:
>
> tbrownaw> On Sat, 2006-09-30 at 21:17 +0200, Thomas Moschny wrote:
> tbrownaw> > Can't you simply use std::endl for that?
> tbrownaw>
> tbrownaw> std::endl is the same as '\n' plus flush() . No reason to
> tbrownaw> use it unless you're trying to also flush the stream you're
> tbrownaw> writing to...
>
> ... or trying to be platform independent...
How so? Line-ending translation is handled elsewhere, what other
platform-specific things could be there? (plus, IIRC endl is *defined to
be* write "widen('\n')" and flush the stream)
Tim
--
Free (experimental) public monotone hosting: http://mtn-host.prjek.net
_______________________________________________
Monotone-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/monotone-devel