From: Daniel Dunbar Date: Fri, 24 Jul 2009 23:54:34 +0000 (+0000) Subject: Tweak, raw_ostream is a ostream, not iostream replacement X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=26fe866cec7e74a782700b7d03e378791b737908;p=oota-llvm.git Tweak, raw_ostream is a ostream, not iostream replacement git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77017 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/docs/CodingStandards.html b/docs/CodingStandards.html index 2d83f0bf62a..f66a7c2154e 100644 --- a/docs/CodingStandards.html +++ b/docs/CodingStandards.html @@ -948,10 +948,10 @@ it's better to use a literal '\n'.

LLVM includes a lightweight, simple, and efficient stream implementation in llvm/Support/raw_ostream.h which provides all of the common features -of std::iostream. All new code should use raw_ostream instead -of iostream.

+of std::ostream. All new code should use raw_ostream instead +of ostream.

-

Unlike std::iostream, raw_ostream is not a template and can +

Unlike std::ostream, raw_ostream is not a template and can be forward declared as class raw_ostream. Public headers should generally not include the raw_ostream header, but use forward declarations and constant references to raw_ostream instances.