Non-empty string view type that guarantees null-termination and has a c_str() member function.
Definition in file zstring_view.hpp.
Go to the source code of this file.
#include <concepts>#include <string>#include <string_view>#include <fmt/format.h>#include <userver/formats/serialize/to.hpp>
This graph shows which files directly or indirectly include this file:Classes | |
| class | utils::zstring_view |
Non-empty string view type that guarantees null-termination and has a c_str() member function. More... | |
| struct | fmt::formatter<::utils::zstring_view, char > |
Namespaces | |
| namespace | utils |
| General-purpose utilities used across userver libraries. | |
| namespace | fmt |
{fmt} compatibility shims across supported versions. | |
Functions | |
| void | utils::AbortWithStacktrace (std::string_view message) noexcept |
| Function that prints the stacktrace with message and aborts the program execution. | |
| template<class Value> | |
| Value | utils::Serialize (zstring_view view, formats::serialize::To< Value >) |
| template<class... NotUsed> | |
| auto | fmt::runtime (::utils::zstring_view s, NotUsed...) -> decltype(fmt::runtime(std::string_view{s})) |