#include <userver/utils/statistics/labels.hpp>
Non owning label name+value storage.
Definition at line 19 of file labels.hpp.
◆ LabelView() [1/2]
constexpr utils::statistics::LabelView::LabelView |
( |
std::string_view |
name, |
|
|
std::string_view |
value |
|
) |
| |
|
inlineconstexpr |
◆ LabelView() [2/2]
template<
class T , std::enable_if_t< std::is_arithmetic_v< T > > * = nullptr>
constexpr utils::statistics::LabelView::LabelView |
( |
std::string_view |
, |
|
|
T |
|
|
) |
| |
|
inlineconstexpr |
◆ Name()
constexpr std::string_view utils::statistics::LabelView::Name |
( |
| ) |
const |
|
inlineconstexpr |
◆ operator bool()
◆ Value()
constexpr std::string_view utils::statistics::LabelView::Value |
( |
| ) |
const |
|
inlineconstexpr |
The documentation for this class was generated from the following file: