You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Idea would be to allow for existing parsing code and avoid copy pasting remainder of from_chars_advanced function.
Existing parser code would fill the parsed_number_string structure as appropriate.
The text was updated successfully, but these errors were encountered:
Not hugely familiar with github at this stage, unfortunately.
Based on last released fast_float.hpp you'd have:
template<typename T, typename UC> FASTFLOAT_CONSTEXPR20 from_chars_result_t<UC> from_chars_advanced(const parsed_number_string_t<UC>& pns, T &value) noexcept { // assert pns.valid ? or explicit check as in current function ? probably leave the check responsibility to caller ? answer.ec = std::errc(); // be optimistic // same lines as in existing from_chars_advanced. // ... }
Idea would be to allow for existing parsing code and avoid copy pasting remainder of from_chars_advanced function.
Existing parser code would fill the parsed_number_string structure as appropriate.
The text was updated successfully, but these errors were encountered: