Posted by Rob on October 12, 2002 at 00:13:51:
In Reply to: There seems to be a problem with Assignment 3! posted by Jorge Casanova on October 11, 2002 at 10:40:19:
This is the problematic piece of code:
void* operator new(sequence::size_type size)
Since you're using MS VC++, you can't declare sequence::size_type as an unsigned variable, but instead an enum, which is really just an integer.
Replacing the above line with the below line should solve the problem.
void* operator new(unsigned(sequence::size_type size))
-Rob