Checks whether the given type satisfies the requirements of a stacktrace backend.
More...
#include <Stacktrace.hpp>
template<typename T>
std::copyable<T>
{
decltype(traits)
::current(value) } -> std::convertible_to<std::remove_cvref_t<T>>;
{
decltype(traits)::size(
backend) } -> std::convertible_to<std::size_t>;
{ decltype(traits)::empty(backend) } -> std::convertible_to<bool>;
{ decltype(traits)::description(backend, value) } -> std::convertible_to<std::string>;
{
decltype(traits)::source_file(
backend, value) } -> std::convertible_to<std::string>;
{
decltype(traits)::source_line(
backend, value) } -> std::convertible_to<std::size_t>;
}
Checks whether the given type satisfies the requirements of a stacktrace backend.
Definition Stacktrace.hpp:104
constexpr detail::current_hook::current_fn current
Function object, which generates the current-stacktrace.
Definition Stacktrace.hpp:374
Trait type for stacktrace backends.
Definition Stacktrace.hpp:97
Checks whether the given type satisfies the requirements of a stacktrace backend.
- Template Parameters
-