C++0x support macros

Wolfgang Bangerth bangerth at math.tamu.edu
Wed Jun 1 12:28:03 UTC 2011


Milian,
the three big issues with C++0x worth thinking about are:

- lots of new members in std::

- lambdas: it would be nice if this were parsed right:
    std::vector<X> v;
    std::for_each (v.begin(), v.end(),
                              [] (const X& x) -> void { x.??? });
  and that auto-completion on 'x' worked

- the really difficult one: auto. For example, can KDevelop determine the type 
  of 'p' in
    std::vector<X> v;
    auto p = v.begin();
  and provide useful auto-completion for it? Likewise, how about this:
    std::vector<X> v;
    for (auto p : v) {...}

W.

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




More information about the KDevelop-devel mailing list