Skip to Main Content United States    
PRODUCTS SUPPORT SOLUTIONS SERVICES
COMPAQ SOFTWARE
Compaq C++

Compaq C++
Using Compaq C++ for OpenVMS Alpha


Previous Contents Index


Appendix D
Class Library Restrictions

This appendix describes known problems and restrictions for the Class Library. Please note that String Package, which is part of the Class Library, is entirely different from the String class that is part of the newly-implemented C++ Standard Library and known as the String Library. Do not confuse these two contrasting implementations.

D.1 Class Library Restrictions

The following are restrictions in the C++ Class Library:

  • No Class Library support for 128-bit long doubles
    The Class Library does not include support for 128-bit long doubles.
  • Conflict with redefinition of clear()
    If your program includes both <curses.h> and <iostream.hxx> , Compaq C++ might fail to compile your program because clear() is defined by both header files. In <curses.h> , clear() is defined as a macro whereas in <iostream.hxx> clear() is defined as a member function.
    Workarounds:
    If your program does not use either clear() or uses the <curses.h> clear() , include the <iostream.hxx> header first, followed by <curses.h> .
    If your program uses the ios::clear() function, undefine the clear() macro directly after the #include <curses.h> statement.


Index Contents
Buy Online or Call 1.800.888.0220      privacy statement and legal notices 
STORES CONTACT US SEARCH PRODUCTS SOLUTIONS OPTIONS DEVELOPERS