mirror of
https://github.com/triqs/dft_tools
synced 2024-12-25 22:03:43 +01:00
Add TRIQS_CATCH_AND_ABORT macro
modified: triqs/utility/macros.hpp
This commit is contained in:
parent
f4444f3b49
commit
3de5c682f6
@ -40,5 +40,7 @@ namespace triqs {
|
|||||||
template<typename T> struct remove_cv_ref : std::remove_cv< typename std::remove_reference<T>::type> {};
|
template<typename T> struct remove_cv_ref : std::remove_cv< typename std::remove_reference<T>::type> {};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#define TRIQS_CATCH_AND_ABORT catch(std::exception const & e) { std::cout << e.what()<< std::endl; return 1;}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user