C++0x support macros

Wolfgang Bangerth bangerth at math.tamu.edu
Wed Jun 1 13:42:29 UTC 2011


> > - the really difficult one: auto. For example, can KDevelop determine the
> > type of 'p' in
> > 
> >     std::vector<X> v;
> >     auto p = v.begin();
> 
> Given that KDevelop today gives the return type of begin() in a popup, I
> think it should be possible

Right. But can it distinguish between the return types if there are overloads, 
i.e.
  auto p1 = tria.begin_active();
  auto p2 = tria.begin_active(1);
?

W.

-------------------------------------------------------------------------
Wolfgang Bangerth                email:            bangerth at math.tamu.edu
                                 www: http://www.math.tamu.edu/~bangerth/




More information about the KDevelop-devel mailing list