mirror of
https://github.com/fmtlib/fmt.git
synced 2025-11-30 14:19:30 +01:00
Use overridden locale in ostream
This commit is contained in:
committed by
Victor Zverovich
parent
ceff9b0b2e
commit
c58b7d9c2f
@@ -1076,6 +1076,8 @@ class locale_ref {
|
||||
locale_ref() : locale_(nullptr) {}
|
||||
template <typename Locale> explicit locale_ref(const Locale& loc);
|
||||
|
||||
explicit operator bool() const FMT_NOEXCEPT { return locale_ != nullptr; }
|
||||
|
||||
template <typename Locale> Locale get() const;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user