Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It is not really linked to boost, but meta-programming make many things many difficult for an IDE (whatever the IDE is). For instance, I could have this class:

template<typename X> struct Test { void test(const X& x) { typename X::type_t x = x.get_something(); } };

When I type this, there is no way for the compiler to know what X will be (and even for the programmer). As a consequence, the IDE cannot help me much: no auto-completion is possible on x, no way to jump to the definition of get_something() [there are probably several implementations], no way to jump to the definition of type_t, etc.

The issue is that this kind of code is very common in modern C++ (I think 90% of my code is probably templated by something) [and look at the code of boost].

So, there is probably no issue in _using_ some boost libraries or the STL, but programming "boost-like" or "STL-like" libraries probably needs different tools.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: