Re: semantic-ia-complete-symbol cannot find the type of a c++ vector iterator

David Engster <[email protected]> Thu, 22 Jan 2015 21:31:42 +0100
Newsgroups gmane.emacs.cedet
Message-ID <[email protected]>
Vincent Semeria writes:
> In the attached c++ file, set the point after beg-> and run
> semantic-ia-complete-symbol. It will fail saying
>
> semantic-analyze-possible-completions-default: Cannot find types for
> `std::vector::iterator beg[=v.begin()]'

That's a known limitation in the parser. It cannot deal with partial
template specializations and default template parameters, which are
needed to parse the vector class. I've made a patch for this years ago,
but never merged it because it was messy and I was too fed up with it to
clean it up...

-David

------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet