mirror of
https://github.com/red0124/ssp.git
synced 2025-12-14 21:59:55 +01:00
refactor splitter
This commit is contained in:
@@ -33,6 +33,7 @@ std::enable_if_t<std::is_floating_point_v<T>, T> pow10(int n) {
|
||||
return ret;
|
||||
}
|
||||
|
||||
// TODO not working with large number of digits
|
||||
template <typename T>
|
||||
std::enable_if_t<std::is_floating_point_v<T>, std::optional<T>> to_num(
|
||||
const char* begin, const char* const end) {
|
||||
|
||||
Reference in New Issue
Block a user