What auto-plugin do you use for vim? Something that can read referred libraries and not just Language standard libraries (boost et al.) perhaps?
I’ve got omnicomplete for python, javascript, c++ etc. installed. It’s ok, but I plan to switch to using clang_complete as soon as I get around to it - you can’t beat the output from an actual compiler!