(Cosmetic) move helpers functions all together

This commit is contained in:
François-Xavier Bourlet 2014-01-20 20:00:22 -08:00
parent a69e228791
commit c3dd434ec8

View File

@ -2067,11 +2067,6 @@ public:
virtual void rethrow() const { throw static_cast<const E&>(*this); }
};
template <typename E>
inline void raise(const E& e) {
throw exception_with_st_mixin<E>(e);
}
class ExceptionHandling {
public:
static ExceptionHandling& instance() {
@ -2226,6 +2221,13 @@ private:
#endif
};
/*************** HELPERS FUNCTIONS **************/
template <typename E>
inline void raise(const E& e) {
throw exception_with_st_mixin<E>(e);
}
inline void pprint_current_exception() {
ExceptionHandling::pprint_current_exception();
}