SyTen
warning_msgs.h File Reference

Helpers for SYTEN_ASSERT, SYTEN_WARN and SYTEN_MSG. More...

#include <mutex>
#include "inc/util/log.h"
#include "inc/util/backtrace.h"
#include "inc/util/tensor_timer_bare.h"
+ Include dependency graph for warning_msgs.h:
+ This graph shows which files directly or indirectly include this file:

Namespaces

 syten
 Syten namespace.
 

Functions

template<typename... Args>
void syten::issue_error (std::string_view const cond, std::string_view const file, std::string_view const line, Args &&... others)
 Use the SYTEN_ASSERT() macro instead of this function! More...
 
template<typename... Args>
void syten::issue_warning (std::string_view const cond, std::string_view const file, std::string_view const line, Args &&... others)
 Use the SYTEN_WARN() macro instead of this function! More...
 
std::string syten::prepare_exception_message (std::string_view const cond, std::string_view const file, std::string_view const line)
 Prepares the exeption message and returns it as a std::string. More...
 

Detailed Description

Helpers for SYTEN_ASSERT, SYTEN_WARN and SYTEN_MSG.