some useful utils More...
#include <thread>
#include <string>
#include <cstdio>
#include <sstream>
#include <pthread.h>
Go to the source code of this file.
Namespaces | |
mavconn | |
mavconn::utils | |
Functions | |
template<typename... Args> | |
std::string | mavconn::utils::format (const std::string &fmt, Args...args) |
Make printf-formatted std::string. More... | |
constexpr size_t | mavconn::utils::operator""_KiB (unsigned long long sz) |
template<typename... Args> | |
bool | mavconn::utils::set_this_thread_name (const std::string &name, Args &&...args) |
Set name to current thread, printf-like. More... | |
template<typename T > | |
const std::string | mavconn::utils::to_string_ss (T &obj) |
Convert to string objects with operator <<. More... | |
some useful utils
Definition in file thread_utils.h.