我正在學習有關boost multiIndex,我正在關注this tutorial。typedef in VC++&boost
的問題是,我不能使用Visual Studio 2008 :(
每次我嘗試編譯從散列索引部分中的代碼(代碼頁面上的第一塊),C++編譯器抱怨:
發生main.cpp(19) : error C2143: syntax error : missing ';' before '<'
main.cpp(19) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
這些錯誤在代碼塊上面所示的線19 typedef的。有人可以幫助我一些線索這嗎?
我覺得很無聊,非常感謝,這確實是我的問題:) – Adi