1  #include <iomanip>
  2  #include <sstream>
  3  
  4  #include "matrix5.h"
  5  
  6  string MatrixIndexException::format_message(int n)
  7  {
  8     ostringstream outstr;
  9     outstr << "Matrix index " << n << " out of range";
 10     return outstr.str();
 11  }