My solution was to edit the predef/os/bsd.h file and add a recursion guard in the #else block - so, starting at around line 94 my predef/os/bsd.h file now looks like:#ifndef BOOST_PREDEF_OS_BSD_H_PREVENT_RECURSION <-- ADD THIS#define BOOST_PREDEF_OS_BSD_H_PREVENT_RECURSION <-- ADD THIS#include <boost/predef/os/bsd/bsdi.h>#include <boost/predef/os/bsd/dragonfly.h>#include <boost/predef/os/bsd/free.h>#include <boost/predef/os/bsd/open.h>#include <boost/predef/os/bsd/net.h>#endif <-- ADD THIS现在 netbeans 代码帮助很愉快,我的代码仍然链接和编译没有错误.And now netbeans code assistance is happy and my code still links and compiles without error. 这篇关于无法解析基于模板的标识符“get".网豆 8.1的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云! 06-12 14:40