| www.delorie.com/gnu/docs/gmp/gmp_72.html | search |
![]() Buy GNU books! | |
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
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.
12.1 C++ Interface General 12.2 C++ Interface Integers 12.3 C++ Interface Rationals 12.4 C++ Interface Floats 12.5 C++ Interface MPFR 12.6 C++ Interface Random Numbers 12.7 C++ Interface Limitations
| webmaster donations bookstore | delorie software privacy |
| Copyright © 2003 by The Free Software Foundation | Updated Jun 2003 |