On 11/4/2015 4:10 AM, Juha Nieminen wrote:
> red floyd <no....@its.invalid> wrote:
>> On 11/3/2015 1:11 AM, Juha Nieminen wrote:
>>> Stefan Ram <
r...@zedat.fu-berlin.de> wrote:
>>>> #include <iostream>
>>>> #include <ostream>
>>>
>>> Isn't that second line superfluous?
>>
>> Like Alf said, it was technically required in C++03. I don't know of
>> any implementation where it was needed, but technically, it was
>> required.
>
> You need both to use std::cout? I can't even figure out how you could
> impose that requirement, even if you deliberately tried to do so.
> Except perhaps have std::cout declared in one, and its operators
> in the other.
At least that's how the Standard used to define those. <iostream> had
header. Do you think Alf and red were making it up?