#include <userver/utils/null_terminated_view.hpp>
Non-empty string view to a null terminated char array.
Definition at line 23 of file null_terminated_view.hpp.
◆ NullTerminatedView() [1/2]
utils::NullTerminatedView::NullTerminatedView |
( |
const char * | str | ) |
|
|
inlineconstexprnoexcept |
◆ NullTerminatedView() [2/2]
utils::NullTerminatedView::NullTerminatedView |
( |
const std::string & | str | ) |
|
|
inlinenoexcept |
◆ c_str()
const char * utils::NullTerminatedView::c_str |
( |
| ) |
const |
|
inlineconstexprnoexcept |
◆ UnsafeMake()
static constexpr NullTerminatedView utils::NullTerminatedView::UnsafeMake |
( |
const char * | str, |
|
|
std::size_t | len ) |
|
inlinestaticconstexprnoexcept |
The documentation for this class was generated from the following file: