Subject: CGAL users discussion list
List archive
- From: "Max" <>
- To: "" <>
- Subject: [cgal-discuss] Bug in Nef_polyhedron_iostream_3.h?
- Date: Mon, 11 Feb 2008 13:47:24 +0800
- Disposition-notification-to: "Max" <>
- Organization: LoadCom
Hi,
I found the code in Nef_polyhedron_iostream_3.h:
template <typename Kernel, typename Items, typename Mark>
std::ostream& operator<<
(std::ostream& os, Nef_polyhedron_3<Kernel,Items,Mark>& NP)
{
Should the line
(std::ostream& os, Nef_polyhedron_3<Kernel,Items,Mark>& NP)
be
(std::ostream& os, const Nef_polyhedron_3<Kernel,Items,Mark>& NP)
^^^^^^^
?
If that's true, its forward declaration and friend declaration in class
Nef_polyhedron_3 should be corrected as const, and SNC_io_parser.h stuff.
I attemped to 'correct'(if I'm correct :-)) the files
Nef_polyhedron_iostream_3.h
and Nef_polyhedron_3.h, but that seems to be not simple in file
SNC_io_parser.h.
So I've rolled back my change.
Thanks.
Max
- RegularTriangulation incident_facets - how to use?, Thomas Zangl, 02/10/2008
- Re: [cgal-discuss] RegularTriangulation incident_facets - how to use?, Thomas Zangl, 02/10/2008
- Message not available
- Re: [cgal-discuss] RegularTriangulation incident_facets - how to use?, Thomas Zangl, 02/10/2008
- Re: [cgal-discuss] RegularTriangulation incident_facets - how to use?, Manuel Caroli, 02/12/2008
- Re: [cgal-discuss] RegularTriangulation incident_facets - how to use?, Thomas Zangl, 02/12/2008
- Re: [cgal-discuss] RegularTriangulation incident_facets - how to use?, Manuel Caroli, 02/14/2008
- Re: [cgal-discuss] RegularTriangulation incident_facets - how to use?, Thomas Zangl, 02/12/2008
- Re: [cgal-discuss] RegularTriangulation incident_facets - how to use?, Manuel Caroli, 02/12/2008
- Re: [cgal-discuss] RegularTriangulation incident_facets - how to use?, Thomas Zangl, 02/10/2008
- Message not available
- [cgal-discuss] Bug in Nef_polyhedron_iostream_3.h?, Max, 02/11/2008
- Re: [cgal-discuss] Bug in Nef_polyhedron_iostream_3.h?, Peter Hachenberger, 02/11/2008
- Re: [cgal-discuss] Bug in Nef_polyhedron_iostream_3.h?, Max, 02/11/2008
- Re: [cgal-discuss] Bug in Nef_polyhedron_iostream_3.h?, Peter Hachenberger, 02/11/2008
- Re: [cgal-discuss] RegularTriangulation incident_facets - how to use?, Thomas Zangl, 02/10/2008
Archive powered by MHonArc 2.6.16.