L
Luna Moon
Here is a quote from the book: C++ Annotations,
I don't understand these sentences, could anybody help me?
thanks!
As a side effect to this implementation it must be stressed that it is
not anymore correct to declare
iostream objects using standard forward declarations, like:
class ostream; // now erroneous
Instead, sources that must declare iostream classes must
#include <iosfwd> // correct way to declare iostream classes
I don't understand these sentences, could anybody help me?
thanks!
As a side effect to this implementation it must be stressed that it is
not anymore correct to declare
iostream objects using standard forward declarations, like:
class ostream; // now erroneous
Instead, sources that must declare iostream classes must
#include <iosfwd> // correct way to declare iostream classes