Use overridden locale in ostream

This commit is contained in:
Daniel Laügt
2019-11-13 13:08:47 +01:00
committed by Victor Zverovich
parent ceff9b0b2e
commit c58b7d9c2f
2 changed files with 6 additions and 2 deletions

View File

@@ -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;
};