From 3b5f97ee0463d0c36ea59fb7fbb1a06c8dae209b Mon Sep 17 00:00:00 2001 From: Laurent Rineau Date: Thu, 24 Jun 2010 13:27:24 +0000 Subject: [PATCH] Fix binary I/O for unsigned integral types (such as std::size_t). --- iostream/include/CGAL/IO/io_tags.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/iostream/include/CGAL/IO/io_tags.h b/iostream/include/CGAL/IO/io_tags.h index 6cf167226aa..179aa023b5e 100644 --- a/iostream/include/CGAL/IO/io_tags.h +++ b/iostream/include/CGAL/IO/io_tags.h @@ -25,6 +25,8 @@ #ifndef CGAL_IO_TAGS_H #define CGAL_IO_TAGS_H +#include + namespace CGAL { struct io_Read_write{}; @@ -43,6 +45,13 @@ template<> struct Io_traits { typedef io_Read_write Io_tag; }; template<> struct Io_traits { typedef io_Read_write Io_tag; }; template<> struct Io_traits { typedef io_Read_write Io_tag; }; +template<> struct Io_traits{ typedef io_Read_write Io_tag; }; + +template<> struct Io_traits { typedef io_Read_write Io_tag; }; +template<> struct Io_traits { typedef io_Read_write Io_tag; }; +template<> struct Io_traits { typedef io_Read_write Io_tag; }; +template<> struct Io_traits { typedef io_Read_write Io_tag; }; + template<> struct Io_traits { typedef io_Read_write Io_tag; }; template<> struct Io_traits { typedef io_Read_write Io_tag; }; template<> struct Io_traits { typedef io_Read_write Io_tag; };