"error: there are no arguments to..." in my code

corey taylor corey.taylor@gmail.com
Sat Nov 17 09:58:00 GMT 2007


On Nov 17, 2007 4:30 AM, mahmoodn <nt_mahmood@yahoo.com> wrote:
>
> template <class Gt, class Tds >
> typename Triangulation_2<Gt, Tds>::Finite_edges_iterator
> Triangulation_2<Gt, Tds>::
> finite_edges_begin() const

It looks like finite_edges_begin() returns a different type here than
Sdg_2::Finite_edges_iterator eit.

Does Segment_Delaunay_graph_hierarchy_2 derive from Triangulation_2?

If it is based on Triangulation_2 and if you read the link I sent,
you'll see that the call to finite_edges_begin() is probably
non-dependent and so needs to have
YourBaseClass<YuorTemplateTypenames>:: or this-> in front of it.

corey



More information about the Gcc-help mailing list