Minor installation bug

Richard Hadsell hadsell@blueskystudios.com
Fri Feb 13 21:11:00 GMT 1998


Pablo Halpern wrote:
> 
> fstream
> iomanip
> istream
> ostream
> streambuf
> 
> Each of these was easily created by creating a one-line file that #includes
> the old-fashoned name (which should remain for backwards-compatability).  In
> other words, file fstream should contain the single line:
> 
> #include <fstream.h>

You might consider the scheme that KAI uses to help people make the
transition to the std:: namespace for the C++ Standard Library.  Their
<xxx> headers obey the standard, declaring everything in std::.  For
those who are not ready for that, they also have <xxx.h> headers, which
include <xxx> and then export the appropriate names to the global
namespace via using commands.  I think an idea along these lines was
mentioned recently with regard to namespaces.

Also, you don't want to create some trivial form of header that is still
not up to the standard.  It might be better at this point to hold off on
<xxx> headers until you can make them a lot closer to the standard.

-- 
Dick Hadsell			914-381-8400  Fax: 914-381-9790
Reply-to:			hadsell@blueskystudios.com
Blue Sky | VIFX			http://www.blueskystudios.com
1 South Road, Harrison, NY 10528



More information about the Gcc-bugs mailing list