tetl 0.1.0
Embedded Template Library
|
Go to the source code of this file.
Classes | |
struct | from_chars_result |
Primitive numerical input conversion. More... | |
Namespaces | |
namespace | etl |
Functions | |
template<integral Int> requires (not same_as<Int, bool>) | |
constexpr auto | from_chars (char const *first, char const *last, Int &value, int base=10) -> from_chars_result |
Analyzes the character sequence [first,last) for a pattern described below. If no characters match the pattern or if the value obtained by parsing the matched characters is not representable in the type of value, value is unmodified, otherwise the characters matching the pattern are interpreted as a text representation of an arithmetic value, which is stored in value. | |