Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
Here’s some code that looks nothing if not eminently reasonable:
class UPInt { // class for unlimited
public: // precision integers
UPInt();
UPInt(int value);
...
};
// For an explanation of why the return value is const,
// see Item 6
const UPInt operator+(const UPInt& lhs, const UPInt& rhs);
UPInt upi1, upi2;
...
UPInt upi3 = upi1 + upi2;