Add inline namespace fmt::v5

This commit is contained in:
Victor Zverovich
2018-05-12 11:02:15 -07:00
parent b64b24ebc5
commit 838400d29b
12 changed files with 73 additions and 61 deletions
+7 -2
View File
@@ -5,10 +5,13 @@
//
// For the license information refer to format.h.
#ifndef FMT_LOCALE_H_
#define FMT_LOCALE_H_
#include "format.h"
#include <locale>
namespace fmt {
FMT_BEGIN_NAMESPACE
class locale {
private:
std::locale locale_;
@@ -17,4 +20,6 @@ class locale {
explicit locale(std::locale loc = std::locale()) : locale_(loc) {}
std::locale get() { return locale_; }
};
}
FMT_END_NAMESPACE
#endif // FMT_LOCALE_