Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- template <typename F>
- void run_treated(F&& func) noexcept {
- try {
- //std::forward<F>(func)();
- func(); // why not call directly, since there are no arguments?
- } catch // ... all the catches go here
- }
Advertisement
Add Comment
Please, Sign In to add comment