2018-01-06 17:09:50 +00:00
|
|
|
// Formatting library for C++ - locale support
|
|
|
|
//
|
|
|
|
// Copyright (c) 2012 - 2016, Victor Zverovich
|
|
|
|
// All rights reserved.
|
|
|
|
//
|
|
|
|
// For the license information refer to format.h.
|
2017-12-03 17:18:06 +00:00
|
|
|
|
|
|
|
#include "fmt/format.h"
|
|
|
|
#include <locale>
|
|
|
|
|
|
|
|
namespace fmt {
|
|
|
|
class locale {
|
|
|
|
private:
|
|
|
|
std::locale locale_;
|
|
|
|
|
|
|
|
public:
|
|
|
|
explicit locale(std::locale loc = std::locale()) : locale_(loc) {}
|
|
|
|
std::locale get() { return locale_; }
|
|
|
|
};
|
|
|
|
}
|