mirror of
https://github.com/fastfloat/fast_float.git
synced 2026-02-09 11:16:45 +08:00
allowing custom file parsing
This commit is contained in:
parent
77cc847c84
commit
864e790d22
@ -236,6 +236,11 @@ int main(int argc, char **argv) {
|
|||||||
<< std::endl;
|
<< std::endl;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
if(argc > 1) {
|
||||||
|
fileload(argv[1]);
|
||||||
|
return EXIT_SUCCESS;
|
||||||
|
}
|
||||||
fileload(std::string(BENCHMARK_DATA_DIR) + "/canada.txt");
|
fileload(std::string(BENCHMARK_DATA_DIR) + "/canada.txt");
|
||||||
fileload(std::string(BENCHMARK_DATA_DIR) + "/mesh.txt");
|
fileload(std::string(BENCHMARK_DATA_DIR) + "/mesh.txt");
|
||||||
|
return EXIT_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user