add array.h/cpp
This commit is contained in:
8
cmake/check-from_chars.cpp
Normal file
8
cmake/check-from_chars.cpp
Normal file
@@ -0,0 +1,8 @@
|
||||
#include <charconv>
|
||||
|
||||
int main()
|
||||
{
|
||||
const char str[] = "1.2345e3";
|
||||
float num;
|
||||
std::from_chars(str, str + sizeof str - 1, num);
|
||||
}
|
||||
Reference in New Issue
Block a user