Subject: CGAL users discussion list
List archive
- From: "Laurent Rineau (GeometryFactory)" <>
- To:
- Subject: Re: [cgal-discuss] template <T> bool object.is(void) member function
- Date: Thu, 10 Jun 2010 21:45:43 +0200
- Organization: GeometryFactory
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
Apart the release number in the footer (and numbers in links), there is only
one visible difference... Guess what is the difference?
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/
- [cgal-discuss] template <T> bool object.is(void) member function, Costas Tsirogiannis, 06/10/2010
- Re: [cgal-discuss] template <T> bool object.is(void) member function, Sylvain Pion, 06/10/2010
- Re: [cgal-discuss] template <T> bool object.is(void) member function, Andreas Fabri, 06/10/2010
- Re: [cgal-discuss] template <T> bool object.is(void) member function, Costas Tsirogiannis, 06/10/2010
- Re: [cgal-discuss] template <T> bool object.is(void) member function, Laurent Rineau (GeometryFactory), 06/10/2010
- Re: [cgal-discuss] template <T> bool object.is(void) member function, Costas Tsirogiannis, 06/10/2010
- Re: [cgal-discuss] template <T> bool object.is(void) member function, Laurent Rineau (GeometryFactory), 06/10/2010
- Re: [cgal-discuss] template <T> bool object.is(void) member function, Costas Tsirogiannis, 06/10/2010
- Re: [cgal-discuss] template <T> bool object.is(void) member function, Laurent Rineau (GeometryFactory), 06/10/2010
- Re: [cgal-discuss] template <T> bool object.is(void) member function, Costas Tsirogiannis, 06/11/2010
- Re: [cgal-discuss] template <T> bool object.is(void) member function, Laurent Rineau (GeometryFactory), 06/10/2010
- Re: [cgal-discuss] template <T> bool object.is(void) member function, Costas Tsirogiannis, 06/10/2010
- Re: [cgal-discuss] template <T> bool object.is(void) member function, Laurent Rineau (GeometryFactory), 06/10/2010
- Re: [cgal-discuss] template <T> bool object.is(void) member function, Costas Tsirogiannis, 06/10/2010
- Re: [cgal-discuss] template <T> bool object.is(void) member function, Andreas Fabri, 06/10/2010
- Re: [cgal-discuss] template <T> bool object.is(void) member function, Sylvain Pion, 06/10/2010
Archive powered by MHonArc 2.6.16.