StupidBeauty
Read times:1314Posted at:Thu Feb 23 05:33:55 2012
- no title specified

std::hash

std::hash是c++0x中的新东西,当用g++来编译使用咯std::hash的代码时,需要加上参数“-std=c++0x”以启用c++0x的特性。ClanLib2.3(当然不知道是从哪个版本开始的)中使用咯std::hash,所以编译时要加上前面说的参数,否则會出现这样的错误:

/usr/include/ClanLib-2.3/ClanLib/Core/Text/string_types.h:64: 错误:'hash' is not a template

Your opinions
Your name:Email:Website url:Opinion content:
- no title specified

HxLauncher: Launch Android applications by voice commands