mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-28 04:41:06 +00:00
Add basic_format_string::get()
This commit is contained in:
parent
0b5cb18b71
commit
48f525d025
@ -3180,6 +3180,7 @@ template <typename Char, typename... Args> class basic_format_string {
|
||||
basic_format_string(basic_runtime<Char> r) : str_(r.str) {}
|
||||
|
||||
FMT_INLINE operator basic_string_view<Char>() const { return str_; }
|
||||
FMT_INLINE basic_string_view<Char> get() const { return str_; }
|
||||
};
|
||||
|
||||
#if FMT_GCC_VERSION && FMT_GCC_VERSION < 409
|
||||
|
Loading…
Reference in New Issue
Block a user