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: Sylvain Pion <>
  • To:
  • Subject: Re: [cgal-discuss] template <T> bool object.is(void) member function
  • Date: Thu, 10 Jun 2010 15:06:19 +0200
  • Organization: INRIA

Le 10/06/10 14:57, Costas Tsirogiannis a écrit :

Greetings,

Is the .is() member function of CGAL::Object still existing?

It is listed here:
http://www.cgal.org/Manual/latest/doc_html/cgal_manual/STL_Extension_ref/Class_Object.html#Cross_link_anchor_1811

If it try to call it I get this strange compilation error :

error: expected primary-expression before ‘>’ token
error: expected primary-expression before ‘)’ token

I looked in the header file of CGAL::Object and Handle_for_virtual but
it doesn't seem listed there.

Is there another way to get this boolean out without trying a CGAL::assign?

Hi Costas,

Are you using a recent enough version of CGAL ?

If you are in a template context, your compiler may require you
to call it as "obj.template is<T>()".

--
Sylvain



Archive powered by MHonArc 2.6.16.

Top of Page