public:
Object ();
- const std::string& getName () const throw () { return a_name; }
+ const std::string& getName () const { return a_name; }
private:
std::string a_name;
};
struct SortByName {
- static const std::string& value (const Object* oo) throw () { return oo->getName (); }
+ static const std::string& value (const Object* oo) { return oo->getName (); }
};
string generate ()
}
void run ()
- throw (RuntimeException)
+ noexcept(false)
{
typedef SortedVector <Object, SortByName, std::string> container;
typedef container::iterator iterator;