This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]