/*============================================================================= Copyright (c) 2011-2016 Bolero MURAKAMI https://github.com/bolero-MURAKAMI/Sprout Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) =============================================================================*/ #ifndef SPROUT_CSTDLIB_STRTOD_HPP #define SPROUT_CSTDLIB_STRTOD_HPP #include #include #include namespace sprout { // // strtod // template inline SPROUT_CONSTEXPR double strtod(Char const* str, Char** endptr) { return sprout::str_to_float(str, endptr); } template inline SPROUT_CONSTEXPR double strtod(Char const* str, std::nullptr_t) { return sprout::str_to_float(str); } template inline SPROUT_CONSTEXPR double strtod(Char const* str) { return sprout::str_to_float(str); } } // namespace sprout #endif // #ifndef SPROUT_CSTDLIB_STRTOD_HPP