map::emplace() with a custom value type

后端 未结 2 1633
陌清茗
陌清茗 2021-02-12 11:39

I\'m having trouble using map::emplace(). Can anyone help me figure out the right syntax to use? I am effectively trying to do the same thing as in this example. He

2条回答
  •  故里飘歌
    2021-02-12 12:18

    GCC 4.7 does not have full support of emplace functions.

    You can see C++11 support in GCC 4.7.2 here.

提交回复
热议问题