Sharg 1.1.2-rc.1
The argument parser for bio-c++ tools.
|
The <charconv> header from C++17's standard library. More...
#include <charconv>
#include <utility>
#include <version>
#include <cassert>
#include <sstream>
#include <type_traits>
Go to the source code of this file.
Functions | |
template<typename value_type > requires std::is_floating_point_v<value_type> | |
to_chars_result | sharg::contrib::charconv_float::to_chars_floating_point (char *first, char *last, value_type value) noexcept |
std::to_chars implementation for floating point via a std::stringstream for default base = 10. | |
template<typename value_type > requires std::is_floating_point_v<value_type> | |
from_chars_result | sharg::contrib::charconv_float::from_chars_floating_point (char const *first, char const *last, value_type &value, chars_format fmt=chars_format::general) noexcept |
Delegates to functions strto[d/f/ld] for floating point value extraction. | |
template<typename floating_point_type > requires std::is_floating_point_v<floating_point_type> | |
to_chars_result | sharg::contrib::charconv_float::to_chars (char *first, char *last, floating_point_type value) noexcept |
std::to_chars overload for floating point via a std::stringstream for default base = 10. | |
template<typename floating_point_type > requires std::is_floating_point_v<floating_point_type> | |
from_chars_result | sharg::contrib::charconv_float::from_chars (char const *first, char const *last, floating_point_type &value, chars_format fmt=chars_format::general) noexcept |
Parse a char sequence into an floating point value. | |
The <charconv> header from C++17's standard library.