diff options
Diffstat (limited to 'src/locale_convert.h')
| -rw-r--r-- | src/locale_convert.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/src/locale_convert.h b/src/locale_convert.h index ab1984e4..9b1b432c 100644 --- a/src/locale_convert.h +++ b/src/locale_convert.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2016 Carl Hetherington <cth@carlh.net> + Copyright (C) 2016-2021 Carl Hetherington <cth@carlh.net> This file is part of libdcp. @@ -31,17 +31,26 @@ files in the program, then also delete it here. */ + +/** @file src/locale_convert.cc + * @brief Methods to convert to/from string using the current locale. + */ + + #ifndef LIBDCP_LOCALE_CONVERT_H #define LIBDCP_LOCALE_CONVERT_H + #include "util.h" #include <boost/filesystem.hpp> #include <boost/static_assert.hpp> #include <string> #include <cstdio> + namespace dcp { + template <typename P, typename Q> P locale_convert (Q, int precision = 16, bool fixed = false) @@ -158,6 +167,8 @@ template <> double locale_convert (std::string x, int, bool); + } + #endif |
