Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] How to fixed the error of "request for member ‘*’ in ‘*’, which is of non-class type ‘const char [11]’ "

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] How to fixed the error of "request for member ‘*’ in ‘*’, which is of non-class type ‘const char [11]’ "


Chronological Thread 
  • From: "Laurent Rineau (CGAL/GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] How to fixed the error of "request for member ‘*’ in ‘*’, which is of non-class type ‘const char [11]’ "
  • Date: Tue, 19 Feb 2013 15:13:22 +0100
  • Organization: GeometryFactory

> template<class SQuad >
> Geomview_stream&
> operator<<( Geomview_stream &gv, const SQuad & quad)

That overload of operator<< matches everything for its second argument. That
overrides even the operator<<(Geomview_stream, const char*), and that causes
the error message.

--
Laurent Rineau, PhD
R&D Engineer at GeometryFactory http://www.geometryfactory.com/
Release Manager of the CGAL Project http://www.cgal.org/




Archive powered by MHonArc 2.6.18.

Top of Page