HP aC++/HP C A.06.20 Programmer's Guide
Migration Considerations when Using Libraries
The following sections contain information about library migration from HP C++ (cfront)
to HP aC++.
Standards Based Libraries
HP aC++ provides the following libraries that are not part of the HP C++ (cfront)
compiler:
• Standard C++ Library
• Tools.h++ Library
• HP aC++ Runtime Support Library
HP recommends that you use these standards based libraries whenever possible, instead
of the cfront compatibility libraries. See Chapter 9: “Tools and Libraries” (page 227) for
more information.
HP C++ (cfront) Compatibility Libraries
HP aC++ provides the following library, whose functionality is part of the HP C++
(cfront) compiler. This library is not Standards based.
• IOStream Library
IOStream Library
The shared version of this library is located at /usr/lib/hpux##/libstream.so.
The archive version is at /usr/lib/hpux##/libstream.a. (## is 32 or 64 - provided
as part of the HP-UX core system).
Manpages
The following manpages are located in the /opt/aCC/share/man/man3.Z directory:
• IOS.INTRO(3C++) - Introduction to the C++ stream library
• filebuf(3C++) - Buffer for file input and output
• fstream(3C++) - iostream and streambuf specialized to files
• ios(3C++) - input/output formatting
• istream(3C++) - formatted and unformatted input
• manip(3C++) - iostream manipulators
• ostream(3C++) - insertion (storing) into a streambuf
• sbuf.prot(3C++) - interface for derived classes
• sbuf.pub(3C++) - public interface of character buffering class
• ssbuf(3C++) - streambuf specialized to arrays
• stdiobuf(3C++) - iostream specialized to stdio file
• strstream(3C++) - iostream specialized to arrays
270 Migrating from HP C++ (cfront) to HP aC++