userver: userver/utils/zstring_view.hpp File Reference
Loading...
Searching...
No Matches
zstring_view.hpp File Reference

Detailed Description

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 <string>
#include <string_view>
#include <type_traits>
#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
 Utilities.
 

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 >)