details Namespace Reference

Space-ng SDK: sol3::log::details Namespace Reference
Space-ng SDK
sol3::log::details Namespace Reference

Classes

struct  UnwrapImpl
 
struct  UnwrapImpl< tl::expected< TT, TE >, TException >
 
struct  UnwrapImpl< tl::expected< TT, TE > &, TException >
 
struct  UnwrapImpl< tl::expected< TT, TE > const &, TException >
 
struct  UnwrapImpl< tl::expected< TT, TE > &&, TException >
 

Functions

template<class TContainer , class TKey , class TException >
auto checkedGetFromAssociativeContainer (TContainer &container, TKey const &key, char const *container_cstr, char const *key_cstr, char const *file, int line, char const *func, std::string msg) -> decltype(*(container.find(key)))
 
template<class TContainer , class TException >
auto checkedAtContiguousContainer (TContainer &container, size_t index, char const *container_cstr, char const *index_cstr, char const *file, int line, char const *func, std::string msg) -> decltype(container[index])
 

Function Documentation

◆ checkedAtContiguousContainer()

template<class TContainer , class TException >
auto sol3::log::details::checkedAtContiguousContainer ( TContainer &  container,
size_t  index,
char const *  container_cstr,
char const *  index_cstr,
char const *  file,
int  line,
char const *  func,
std::string  msg 
) -> decltype(container[index])

◆ checkedGetFromAssociativeContainer()

template<class TContainer , class TKey , class TException >
auto sol3::log::details::checkedGetFromAssociativeContainer ( TContainer &  container,
TKey const &  key,
char const *  container_cstr,
char const *  key_cstr,
char const *  file,
int  line,
char const *  func,
std::string  msg 
) -> decltype(*(container.find(key)))