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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Nov 17, 2007 3:18 AM, mahmoodn <nt_mahmood@xxxxxxxxx> wrote:
>
> I use  OS: i686_Linux-2.6  and  Compiler: GNU 3.4.2
> for the code bellow:
>      typedef Segment_Delaunay_graph_hierarchy_2 <Sdg_traits_2,
> CGAL::Tag_true, Sdg_ds_2>      Sdg_2;
>      typename  Sdg_2::Finite_edges_iterator eit;
>      for (eit = finite_edges_begin(); eit != finite_edges_end(); ++eit)
>            _compute_primal_edge (*eit, edges);
>
> it says:
> ../../include/CGAL/Polygon_Voronoi_diagram_2.h:331:error: there are no
> arguments to `finite_edges_begin' that depend on a template parameter, so a
> declaration of `finite_edges_begin' must be available

Well, where is finite_edges_begin declared?  You don't provide the whole class.

http://gcc.gnu.org/onlinedocs/gcc/Name-lookup.html

Look at the example at the bottom for an explanation where this error
might come from.

corey

corey

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux