开发者

hash_map on AIX?

I am porting a program to AIX which takes use of hash_map in many places.

For linux and solaris hash_map is included in _gnu_cxx package and st开发者_高级运维lport.

However, I can't find hash_map on AIX platform. Anybody know? Btw, I have to use IBM compiler /usr/vacpp/bin/xlC.

Thanks.


I think you want <unordered_map> on the AIX xlC compiler. That's because <hash_map> is a gcc extension.

You'll need to change your code to use the different name (or do some jiggery-pokery with a translation layer).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜