Topic: Another slight problem


Author: stephen@cavendish.co.uk (Stephen Hobley)
Date: 1995/06/14
Raw View
I'm using GCC libraries v2.6.2. I want to create an
iostream object 'around' a pre-defined streambuf.

When I try this:

 iostream MyIostream(&MyStreambuf);

The compiler throws it out claiming that it needs a
'type name' in the parentheses.

Why is this?

Steve Hobley

=========================================================
[ Stephen Hobley : Development. stephen@cavendish.co.uk ]
[   The Cavendish Organisation Ltd, Windsor, ENGLAND    ]
[ Tel : +44 1-753-830333         Fax : +44 1-753-831645 ]
=========================================================