Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] template <T> bool object.is(void) member function

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] template <T> bool object.is(void) member function


Chronological Thread 
  • From: "Laurent Rineau (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] template <T> bool object.is(void) member function
  • Date: Thu, 10 Jun 2010 16:07:19 +0200
  • Organization: GeometryFactory

On Thursday 10 June 2010 15:47:58 Costas Tsirogiannis wrote:
> Indeed, this extra "template" before "is" made it work.
> Why is this needed in the present case?
> Normally a templated member function can be called without it.

Normally, this keyword is only required to call template member functions of
types whose identifier is a dependent name (a name whose semantic may depend
on the template parameters). Is your "Object" type equal to K::Object_2 (or
Object_3) with K passed as template parameter?

--
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.16.

Top of Page