Next: Custom Allocation, Previous: Formatted Input, Up: Top [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.
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 Random Numbers | ||
• C++ Interface Limitations |