alpaqa pi-pico
Nonconvex constrained optimization
Loading...
Searching...
No Matches
Functions
anonymous_namespace{cutest-loader.cpp} Namespace Reference

Functions

void throw_error (std::string_view s, int code)
 
void throw_if_error (std::string_view s, int code)
 
void log_if_error (std::string_view s, int code)
 
template<class F >
auto checked (F &&func, std::string_view msg)
 

Function Documentation

◆ throw_error()

void throw_error ( std::string_view  s,
int  code 
)

Definition at line 21 of file cutest-loader.cpp.

+ Here is the caller graph for this function:

◆ throw_if_error()

void throw_if_error ( std::string_view  s,
int  code 
)

Definition at line 25 of file cutest-loader.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ log_if_error()

void log_if_error ( std::string_view  s,
int  code 
)

Definition at line 29 of file cutest-loader.cpp.

◆ checked()

template<class F >
auto checked ( F &&  func,
std::string_view  msg 
)

Definition at line 34 of file cutest-loader.cpp.

+ Here is the call graph for this function: