Subject: CGAL users discussion list
List archive
- From: Andreas Fabri <>
- To:
- Subject: Re: [cgal-discuss] template <T> bool object.is(void) member function
- Date: Thu, 10 Jun 2010 15:10:22 +0200
- Organization: GeometryFactory
On 10/06/2010 15:06, Sylvain Pion wrote:
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>()".
Hi Costas,
and instead of assign you should use object_cast
best,
andreas
- [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.