0
#include <stdexcept>
#include <string>
using namespace std;
class ListIndexOutOfRangeException : public out_of_range
{
public:
ListIndexOutOfRangeException(const string & message = "") : out_of_range(message.c_str())
{
}
}; // end ListIndexOutOfRangeException
尼斯之一!謝謝。 – Brandon 2009-12-20 11:45:38