Add locale getter in tm_writer
This commit is contained in:
parent
8c19bf3f2f
commit
898a27f4e0
@ -1263,6 +1263,8 @@ class tm_writer {
|
|||||||
|
|
||||||
OutputIt out() const { return out_; }
|
OutputIt out() const { return out_; }
|
||||||
|
|
||||||
|
const std::locale & locale() const { return loc_; }
|
||||||
|
|
||||||
FMT_CONSTEXPR void on_text(const Char* begin, const Char* end) {
|
FMT_CONSTEXPR void on_text(const Char* begin, const Char* end) {
|
||||||
out_ = copy_str<Char>(begin, end, out_);
|
out_ = copy_str<Char>(begin, end, out_);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user