6 ms·
I think it's pretty basic. I created a demo repo for people to play with, so they don't have to configure themselves: https://github.com/tuhdo/emacs-c-ide-demo
by tuhdo 12y ago
I think it's pretty basic. I created a demo repo for people to play with, so they don't have to configure themselves: https://github.com/tuhdo/emacs-c-ide-demo https://github.com/tuhdo/emacs-c-ide-demo
For C++, CEDET works pretty nicely with templates and libraries like Boost. I haven't used much C++ aside playing with lambda, so I'm not sure. I've looked at rvalue reference, and it seems to return an assignable pointer to do other thing from a function. Currently, you can jump to the function but not the pointer that the function returns.
Currently, I only work with C. But being able to jump anywhere in the Linux kernel source tree and your system include source (such as "/usr/include", "/usr/local/include" is already very useful, don't you agree?
- stinos 12y agoI've looked at rvalue reference, and it seems to return an assignable pointer to do other thing from a function I'm not sure how you came to that conclusion, but it is not correct. R-values don't have much to do with pointers at all. Though they sometimes do solve problems you would be tempted to use pointers for. I admit I do find it hard to explain briefly what they are though. Maybe these are helpful, though it might be hard to grasp if you don't already properly understand C++: http://www.artima.com/cppsource/rvalue.html http://www.artima.com/cppsource/rvalue.html http://thbecker.net/articles/rvalue_references/section_01.html http://thbecker.net/articles/rvalue_references/section_01.ht.... This example basically gives an idea of why they are useful: http://thisthread.blogspot.be/2011/03/what-is-rvalue-reference-good-for.html http://thisthread.blogspot.be/2011/03/what-is-rvalue-referen...
- tuhdo 12y agoWell currently I only work with C not C++ anymore so my knowledge might be outdated. I thought that the rvalue reference is something new in C++11, as I read it here: http://thbecker.net/articles/rvalue_references/section_01.html http://thbecker.net/articles/rvalue_references/section_01.ht.... Your article seems to mention different thing from 2008? In the article I read, a function returns a pointer that you can assign it like this: get_pointer() = 1;
- stinos 12y agoThe design of C++11 started way before 2011, hence articles from 2008. get_pointer() = 1; assigning 1 to a pointer isn't the best idea :P so I think you mean you read int& get_reference(); get_reference() = 1; which is about lvalue references, not rvalue references, and has existed in C++ since the beginning.
- tuhdo 12y agoThanks for the explanation.