alpaqa 1.0.0a14
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)
 
std::shared_ptr< void > load_lib (const char *so_filename)
 

Function Documentation

◆ throw_error()

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

Definition at line 24 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 28 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 32 of file cutest-loader.cpp.

◆ checked()

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

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

+ Here is the call graph for this function:

◆ load_lib()

std::shared_ptr< void > load_lib ( const char *  so_filename)

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