mqtt_cpp
|
Functions | |
buffer | operator""_mb (char const *str, std::size_t length) |
user defined literals for buffer If user use this out of mqtt scope, then user need to declare using namespace literals . When user write "ABC"_mb, then this function is called. The created buffer doesn't hold any lifetimes because the string literals has static strage duration, so buffer doesn't need to hold the lifetime. More... | |
|
inline |
user defined literals for buffer If user use this out of mqtt scope, then user need to declare using namespace literals
. When user write "ABC"_mb, then this function is called. The created buffer doesn't hold any lifetimes because the string literals has static strage duration, so buffer doesn't need to hold the lifetime.
str | the address of the string literal |
length | the length of the string literal |