Skip to content

Commit 85911ab

Browse files
committed
added couple of comments
1 parent 1f9b1a6 commit 85911ab

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

include/fast_float/parse_number.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,11 @@ from_chars_result_t<UC> from_chars(UC const * first, UC const * last,
187187
return from_chars_caller<T>::call(first, last, value, parse_options_t<UC>(fmt));
188188
}
189189

190+
/**
191+
* This function overload takes parsed_number_string_t structure that is created and populated
192+
* either by from_chars_advanced function taking chars range and parsing options
193+
* or other parsing custom function implemented by user.
194+
*/
190195
template<typename T, typename UC>
191196
FASTFLOAT_CONSTEXPR20
192197
from_chars_result_t<UC> from_chars_advanced(parsed_number_string_t<UC>& pns,
@@ -286,6 +291,7 @@ from_chars_result_t<UC> from_chars_advanced(UC const * first, UC const * last,
286291
}
287292
}
288293

294+
// call overload that takes parsed_number_string_t directly.
289295
return from_chars_advanced(pns, value);
290296
}
291297

0 commit comments

Comments
 (0)