userver: fmt Namespace Reference
Loading...
Searching...
No Matches
fmt Namespace Reference

Detailed Description

{fmt} compatibility shims across supported versions.

Classes

struct  formatter< boost::uuids::uuid >
 
struct  formatter< T >
 fmt::format support for protobuf messages More...
 
struct  formatter< T, Char >
 
class  formatter<::decimal64::Decimal< Prec, RoundPolicy >, Char >
 fmt support More...
 
struct  formatter<::engine::io::Sockaddr >
 Socket address fmt formatter. More...
 
struct  formatter<::formats::bson::Document >
 Uses formats::bson::ToRelaxedJsonString representation by default. More...
 
struct  formatter<::formats::bson::JsonString >
 
struct  formatter<::formats::bson::Oid >
 
struct  formatter<::formats::json::Value >
 
struct  formatter<::http::ContentType >
 
struct  formatter<::http::headers::PredefinedHeader >
 
struct  formatter<::http::StatusCode >
 
struct  formatter<::protobuf::json::ParseErrorCode >
 
struct  formatter<::protobuf::json::ParseOptions >
 
struct  formatter<::protobuf::json::PrintErrorCode >
 
struct  formatter<::protobuf::json::PrintOptions >
 
struct  formatter<::server::http::HttpMethod >
 
class  formatter<::utils::datetime::TimeOfDay< Duration > >
 
struct  formatter<::utils::SmallString< N > >
 
struct  formatter<::utils::statistics::HistogramView >
 
struct  formatter<::utils::statistics::Label >
 
struct  formatter<::utils::statistics::LabelsSpan >
 
struct  formatter<::utils::statistics::LabelView >
 
class  formatter<::utils::statistics::MetricValue >
 
class  formatter<::utils::statistics::Rate >
 
struct  formatter<::utils::StringLiteral, char >
 
struct  formatter<::utils::zstring_view, char >
 

Functions

template<typename S>
const S & runtime (const S &s)
 
template<class... NotUsed>
auto runtime (::utils::zstring_view s, NotUsed...) -> decltype(fmt::runtime(std::string_view{s}))
 

Function Documentation

◆ runtime() [1/2]

template<class... NotUsed>
auto fmt::runtime ( ::utils::zstring_view s,
NotUsed...  ) -> decltype(fmt::runtime(std::string_view{s}))
inline

Definition at line 88 of file zstring_view.hpp.

◆ runtime() [2/2]

template<typename S>
const S & fmt::runtime ( const S & s)

Definition at line 16 of file fmt_compat.hpp.