Commit Graph

78 Commits

Author SHA1 Message Date
Marc Glisse fa61ad20c3 Use Fraction_traits::Compose in read_float_or_quotient. 2016-10-26 13:10:55 +02:00
Simon Giraudot 85a5ef28dc Merge branch 'Point_set_classification-GF-old' into Point_set_classification-GF 2016-07-05 13:49:33 +02:00
Sébastien Loriot c951fe0fca Merge pull request #1035 from lrineau/CGAL-fix_Wconversion_warnings-GF
Fix -Wconversion warnings, and issues detected by those warnings
2016-06-24 13:30:48 +02:00
Laurent Rineau fa5cb831c9 Add Output_rep<T,F>::is_specialized...
.. that allows `Dump_c3t3` to detect if a type can be streamed, using
either `operator<<` or `Output_rep<T>`.
2016-06-15 18:10:14 +02:00
Laurent Rineau 73e2ccae64 Fix -Wconversion in Stream_support 2016-04-22 12:36:26 +02:00
Laurent Rineau 55e6c179a4 Update io.h
Fix #1024.
2016-04-20 11:59:25 +02:00
Andreas Fabri d18db3c527 Half the time of reading float and double for VC++ 2016-04-18 16:25:09 +02:00
Andreas Fabri 00cf5f937d inline; clean CMakeLists 2016-02-25 12:21:03 +01:00
Andreas Fabri 1baa329711 operator>>(Lazy_exac_nt) calls new function read_float_or_quotient 2016-02-24 16:35:07 +01:00
Guillaume Damiand cf1c0ea0ca Merge branch 'CGAL_headers_only-gdamiand_cjamin-OLD' into CGAL_headers_only-gdamiand_cjamin 2015-10-01 09:12:55 +02:00
Andreas Fabri b1c417e7b7 fix reading of doubles. There may be a + after the e 2015-04-22 10:10:03 +02:00
Guillaume Damiand 7f468a6b14 Bug fix 2015-03-16 17:37:05 +01:00
Guillaume Damiand 6b3fbfb5ef io static methods 2015-03-16 17:14:56 +01:00
Clement Jamin beaec12af1 Use get_mode() 2015-03-16 14:34:10 +01:00
Guillaume Damiand 9c78897ba5 Merge branch 'CGAL_headers_only-gdamiand_cjamin-old' into CGAL_headers_only-gdamiand_cjamin 2015-03-16 14:00:43 +01:00
Andreas Fabri f05a19035c #include <cctype> for isspace() 2014-12-04 14:22:49 +01:00
Laurent Rineau 9ef939e1cf Fix Input_rep<double>
- EOF was not handled.
- sscanf may not recognize a double
2014-12-04 13:01:08 +01:00
Andreas Fabri a668af3628 unset the failbit if everything went fine 2014-12-03 19:08:57 +01:00
Andreas Fabri 679f6de9b7 As the exponent can be negative we have to check for '-' too 2014-11-30 23:00:17 +01:00
Andreas Fabri a1a0f5c17d Input_rep<double> now reads a string (0-9eE\.)* 2014-11-27 11:14:52 +01:00
Andreas Fabri f50bbd72c4 Use iformat and Input_rep<double> instead of an additional function 2014-11-24 17:10:46 +01:00
Andreas Fabri 36f1514957 Add a generic template function extract(istream&, T&) 2014-11-13 20:34:58 +01:00
Guillaume Damiand e8fe29c79c Ok for the compilation version header only (only for the treated files). 2014-10-31 17:09:48 +01:00
Guillaume Damiand 1182319f5d Redo all the modifs to remove all the cpp files from cgal.
First step where all the XXX.cpp are copied into XXX_impl.h files.
The macro CGAL_HEADER_ONLY allows to know if impl files need to be
included or not into header files; and allow to decide if functions are
in impl files are inline or not.

Next step: process with static variables for the header only version.
2014-10-30 16:05:22 +01:00
Andreas Fabri c537e4ed64 Use the workaround only for VC++ and only starting from VC10 2014-04-11 16:51:04 +02:00
Andreas Fabri afdeb14bd7 Add a replacement for operator>>(istream&, double&) 2014-04-10 13:10:41 +02:00
Laurent Rineau a04891ff93 WARNFIX: fix some warnings triggered by -Wconversion on g++ 2012-08-09 16:06:54 +00:00
Philipp Möller 88963525b6 Merged iostream into Stream_support 2012-06-22 14:43:58 +00:00