Answer the question
In order to leave comments, you need to log in
NetBeans 7.4 c++ autocomplete
In the latest version (after the next update), autocomplete broke for types obtained using the auto keyword (c++11):
std::auto_ptr<bodydef_t> bodydefPtr = bodydef(fileName);
for (const auto& xmlBody : bodydefPtr->bodies().body()) {
const std::string& name = xmlBody.name();
Code completion for bodydefPtr and bodydefPtr->bodies() works, but for xmlBody it doesn't. Everything worked before the C++ plugin update. For std::auto_ptr - do not kick, this is the specifics of the library used. auto self(shared_from_this());
asio::async_read(
m_Socket,
asio::buffer(m_RecvBuffer.DataP(), m_RecvBuffer.AvailableForWrite()),
[this, self](const system::error_code& ec1, std::size_t length1) -> std::size_t
{
if (!ec) {/*...*/}
},
m_Strand.wrap(
[this, self](const system::error_code& ec2, std::size_t length2)
{
if (!ec) {/*...*/}
}
)
);
For ec1 and length1 - code completion works. For ec2 and length2 - code completion does not work. Is there a cure for this?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question