const cl_RA operator() (const cl_RA& y) const;
public: // Ability to place an object at a given address.
void* operator new (size_t size) { return malloc_hook(size); }
- void* operator new (size_t size, cl_UP_RA* ptr) { (void)size; return ptr; }
+ void* operator new (size_t size, void* ptr) { (void)size; return ptr; }
void operator delete (void* ptr) { free_hook(ptr); }
};
class cl_heap_univpoly_rational_ring : public cl_heap_univpoly_ring {
SUBCLASS_cl_heap_univpoly_ring()
// High-level operations.
- void fprint (cl_ostream stream, const cl_UP_RA& x)
+ void fprint (std::ostream& stream, const cl_UP_RA& x)
{
cl_heap_univpoly_ring::fprint(stream,x);
}