| 18 | //[getting_started_class_with_trace |
| 19 | template <class E> |
| 20 | void throw_with_trace(const E& e) { |
| 21 | throw boost::enable_error_info(e) |
| 22 | << traced(boost::stacktrace::stacktrace()); |
| 23 | } |
| 24 | //] |
| 25 | |
| 26 | //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// |