kdevelop doesn't resolve 'auto'

Matthew Woehlke mw_triad at users.sourceforge.net
Wed Apr 30 22:14:43 BST 2014


It's great that KDevelop can usually figure out the type of an 'auto' 
declaration. But sometimes it can't:

   std::vector<int> vec;
   auto x = vec[0]; // deduction for 'x' fails

   QList<int> list;
   foreach (auto y, list) // deduction for 'y' fails

Are these known? Worth filing (a) bug report(s)?


p.s. Thanks for making a great IDE!

-- 
Matthew




More information about the KDevelop mailing list