Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c++ > #6745 > unrolled thread

Re: Clarification on #include <ostream>

Started by"Bo Persson" <bop@gmb.dk>
First post2011-06-14 18:00 +0200
Last post2011-06-14 18:00 +0200
Articles 1 — 1 participant

Back to article view | Back to comp.lang.c++

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Clarification on #include <ostream> "Bo Persson" <bop@gmb.dk> - 2011-06-14 18:00 +0200

#6745 — Re: Clarification on #include <ostream>

From"Bo Persson" <bop@gmb.dk>
Date2011-06-14 18:00 +0200
SubjectRe: Clarification on #include <ostream>
Message-ID<95petfFu28U1@mid.individual.net>
Stefan Ram wrote:
>  The C++ standard from the 90s said that ť#include <ostream>Ť
>  was required to use ť<<Ť as in ť::std::cout << 0Ť.
>
>  But since no implementation required this, it was often said
>  to be a defect in the standard.
>
>  Has this requirement been removed from the standard in the
>  meantime?

Yes, the new standard (C++11) requires <iostream> to include <istream> 
and <ostream>.



Bo Persson

[toc] | [standalone]


Back to top | Article view | comp.lang.c++


csiph-web