fix: include of iostream is now required on client code

This commit is contained in:
Joao Paulo Magalhaes 2020-11-24 00:40:28 +00:00
parent e65f977135
commit 663fd91d8f
10 changed files with 18 additions and 15 deletions

View File

@ -1,7 +1,7 @@
#include "fast_float/fast_float.h" #include "fast_float/fast_float.h"
#include <iostream>
#include <cassert> #include <cassert>
#include <cmath> #include <cmath>
@ -56,4 +56,4 @@ int main() {
std::cout << std::endl; std::cout << std::endl;
std::cout << "all ok" << std::endl; std::cout << "all ok" << std::endl;
return EXIT_SUCCESS; return EXIT_SUCCESS;
} }

View File

@ -1,7 +1,7 @@
#include "fast_float/fast_float.h" #include "fast_float/fast_float.h"
#include <iostream>
#include <cassert> #include <cassert>
#include <cmath> #include <cmath>
@ -70,4 +70,4 @@ int main() {
std::cout << std::endl; std::cout << std::endl;
std::cout << "all ok" << std::endl; std::cout << "all ok" << std::endl;
return EXIT_SUCCESS; return EXIT_SUCCESS;
} }

View File

@ -1,6 +1,6 @@
#include "fast_float/fast_float.h" #include "fast_float/fast_float.h"
#include <iostream>
#include <cassert> #include <cassert>
#include <cmath> #include <cmath>
@ -119,4 +119,4 @@ int main() {
std::cout << std::endl; std::cout << std::endl;
std::cout << "all ok" << std::endl; std::cout << "all ok" << std::endl;
return EXIT_SUCCESS; return EXIT_SUCCESS;
} }

View File

@ -1,7 +1,7 @@
#include "fast_float/fast_float.h" #include "fast_float/fast_float.h"
#include <iostream>
#include <cassert> #include <cassert>
#include <cmath> #include <cmath>
@ -57,4 +57,4 @@ int main() {
std::cout << std::endl; std::cout << std::endl;
std::cout << "all ok" << std::endl; std::cout << "all ok" << std::endl;
return EXIT_SUCCESS; return EXIT_SUCCESS;
} }

View File

@ -1,6 +1,6 @@
#include "fast_float/fast_float.h" #include "fast_float/fast_float.h"
#include <iostream>
#include <cassert> #include <cassert>
#include <cmath> #include <cmath>
@ -56,4 +56,4 @@ int main() {
std::cout << std::endl; std::cout << std::endl;
std::cout << "all ok" << std::endl; std::cout << "all ok" << std::endl;
return EXIT_SUCCESS; return EXIT_SUCCESS;
} }

View File

@ -1,6 +1,6 @@
#include "fast_float/fast_float.h" #include "fast_float/fast_float.h"
#include <iostream>
#include <cassert> #include <cassert>
#include <cmath> #include <cmath>

View File

@ -1,6 +1,6 @@
#include "fast_float/fast_float.h" #include "fast_float/fast_float.h"
#include <iostream>
#include <cassert> #include <cassert>
#include <cmath> #include <cmath>

View File

@ -1,4 +1,6 @@
#include "fast_float/fast_float.h" #include "fast_float/fast_float.h"
#include <iostream>
#include <cstdint> #include <cstdint>
#include <random> #include <random>
@ -212,4 +214,4 @@ int main() {
} }
std::cout << "Failure." << std::endl; std::cout << "Failure." << std::endl;
return EXIT_FAILURE; return EXIT_FAILURE;
} }

View File

@ -1,4 +1,5 @@
#include "fast_float/fast_float.h" #include "fast_float/fast_float.h"
#include <iostream>
#include <cstdint> #include <cstdint>
#include <random> #include <random>
@ -208,4 +209,4 @@ int main() {
} }
std::cout << "Failure." << std::endl; std::cout << "Failure." << std::endl;
return EXIT_FAILURE; return EXIT_FAILURE;
} }

View File

@ -1,5 +1,5 @@
#include "fast_float/fast_float.h" #include "fast_float/fast_float.h"
#include <iostream>
#include <vector> #include <vector>
#if defined(__CYGWIN__) || defined(__MINGW32__) || defined(__MINGW64__) || defined(sun) || defined(__sun) #if defined(__CYGWIN__) || defined(__MINGW32__) || defined(__MINGW64__) || defined(sun) || defined(__sun)