From ed0da8842fbabe9ed747f23a0d2a8f5b68dbb2a2 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Fri, 24 Jul 2009 23:54:34 +0000 Subject: 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 --- docs/CodingStandards.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/CodingStandards.html b/docs/CodingStandards.html index 2d83f0b..f66a7c2 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.

-- cgit v1.1