GNU Info

Info Node: (gmp.info)C++ Class Interface

(gmp.info)C++ Class Interface


Next: BSD Compatible Functions Prev: Formatted Input Up: Top
Enter node , (file) or (file)node

C++ Class Interface
*******************

   This chapter describes the C++ class based interface to GMP.

   All GMP C language types and functions can be used in C++ programs,
since `gmp.h' has `extern "C"' qualifiers, but the class interface
offers overloaded functions and operators which may be more convenient.

   Due to the implementation of this interface, a reasonably recent C++
compiler is required, one supporting namespaces, partial specialization
of templates and member templates.  For GCC this means version 2.91 or
later.

   *Everything described in this chapter is to be considered preliminary
and might be subject to incompatible changes if some unforeseen
difficulty reveals itself.*

C++ Interface General
C++ Interface Integers
C++ Interface Rationals
C++ Interface Floats
C++ Interface MPFR
C++ Interface Random Numbers
C++ Interface Limitations

automatically generated by info2www version 1.2.2.9