diff --git a/Stream_support/include/CGAL/IO/PLY/PLY_reader.h b/Stream_support/include/CGAL/IO/PLY/PLY_reader.h index 2500bb8f59b4..89f4a64c0de1 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;