SVector.H:
void pop_back() throw (underflow_error);
In my SVector.cpp file, should I also include the throw (underflow_error) part as well?
void pop_back() throw (underflow_error)
{
// implementation
}
OR
void pop_back()
{
// implementation
}
Thanks.