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: Costas Tsirogiannis <>
  • To:
  • Subject: Re: [cgal-discuss] template <T> bool object.is(void) member function
  • Date: Fri, 11 Jun 2010 11:29:16 +0200
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=WhnowDLAggDGNGZJ8msaUjLxkjnQDrw7VQcZLZow0glVfb21BIetGTHnpfgc++DM6B vgR45iq1pyBdwiiHTkS104O5tup26iaVwqO7SnnVunla9A5oc6JqKJXkpqSRQbCiC21f hMz+GTi2fYzmuKiEZSe/rP4BtjPWhn71zq8qw=

>Apart the release number in the footer (and numbers in links), there is only
>one visible difference... Guess what is the difference?

Hmmm, difficult to see :P

Ok, thanks!

On Thu, Jun 10, 2010 at 9:45 PM, Laurent Rineau (GeometryFactory) <> wrote:
Le jeudi 10 juin 2010 19:10:29, Costas Tsirogiannis a écrit :
> > Well, this time it probably means that you are compiling with an old
>
> version
>
> > of CGAL, Which CGAL version are you using?
>
> 3.5.1  .  Should I upgrade?   :)

Search for the differences:
http://www.cgal.org/Manual/3.5/doc_html/cgal_manual/STL_Extension_ref/Class_Object.html
http://www.cgal.org/Manual/3.6/doc_html/cgal_manual/STL_Extension_ref/Class_Object.html



You should upgrade to CGAL-3.6 (whose documentation you refer to), or not use
is<T>(). If you want to stick to CGAL-3.5.1, instead of:
 obj.is<T>()
you can use:
 CGAL::object_cast<T>(&obj) != NULL

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

--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://lists-sop.inria.fr/wws/info/cgal-discuss





Archive powered by MHonArc 2.6.16.

Top of Page