AsmGrader 0.0.0
Loading...
Searching...
No Matches
trace_exception.hpp File Reference
#include "common/extra_formatters.hpp"
#include <boost/stacktrace/stacktrace.hpp>
#include <fmt/base.h>
#include <fmt/format.h>
#include <fmt/ostream.h>
#include <concepts>
#include <exception>
#include <functional>
#include <iostream>
#include <optional>
#include <string>
#include <type_traits>
#include <utility>
Include dependency graph for trace_exception.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  asmgrader
 

Functions

template<typename T >
void asmgrader::trace_exception (const T &exception)
 
template<typename Func , typename... Args>
requires (std::invocable<Func, Args...>)
std::optional< std::invoke_result_t< Func, Args... > > asmgrader::wrap_throwable_fn (Func &&fn, Args &&... args)