Non-owning string view supporting advanced format specifiers.
More...
#include <string.hpp>
|
| constexpr | as_string_view (microfmt::string_view str) noexcept |
| | Constructs the view over a string_view.
|
| |
| constexpr microfmt::string_view | get () const &noexcept |
| | Returns the underlying string view.
|
| |
| constexpr microfmt::string_view | get () const &&=delete |
| |
Non-owning string view supporting advanced format specifiers.
◆ as_string_view()
| constexpr microfmt::as_string_view::as_string_view |
( |
microfmt::string_view |
str | ) |
|
|
inlineexplicitconstexprnoexcept |
Constructs the view over a string_view.
- Parameters
-
◆ get() [1/2]
| constexpr microfmt::string_view microfmt::as_string_view::get |
( |
| ) |
const && |
|
constexprdelete |
◆ get() [2/2]
| constexpr microfmt::string_view microfmt::as_string_view::get |
( |
| ) |
const & |
|
inlineconstexprnoexcept |
Returns the underlying string view.
- Returns
- Referenced text.
The documentation for this class was generated from the following file: