From fe7d09ce909a2eef06abfb16c65ab18b088286ef Mon Sep 17 00:00:00 2001 From: Andreas Fabri Date: Fri, 24 Jun 2022 15:24:28 +0100 Subject: [PATCH] Do not use is_iterator_v for VC2015 --- Stream_support/include/CGAL/IO/PLY/PLY_reader.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Stream_support/include/CGAL/IO/PLY/PLY_reader.h b/Stream_support/include/CGAL/IO/PLY/PLY_reader.h index 2500bb8f59b..89f4a64c0de 100644 --- a/Stream_support/include/CGAL/IO/PLY/PLY_reader.h +++ b/Stream_support/include/CGAL/IO/PLY/PLY_reader.h @@ -705,7 +705,11 @@ bool read_PLY_faces(std::istream& in, ColorOutputIterator fc_out, const char* vertex_indices_tag, std::enable_if_t< +#if defined(MSC_VER_) && (MSC_VER > 1900) CGAL::is_iterator_v +#else + CGAL::is_iterator::value +#endif >* = nullptr) { typedef CGAL::IO::Color Color_rgb;