Remove dynamic exceptions
[anna.git] / example / core / sort / main.cpp
index 5e7bcb0..f84b6f7 100644 (file)
 using namespace std;
 
 struct Accesor {
-   static int value (int* i) throw () { return *i; }
-   static int value (const int* i) throw () { return *i; }
+   static int value (int* i) { return *i; }
+   static int value (const int* i) { return *i; }
 };
 
 void run () 
-   throw (RuntimeException)
+   noexcept(false)
 {
 
    int values [] = {