emplace_back not working with std::vector>

后端 未结 3 1963
我寻月下人不归
我寻月下人不归 2021-01-17 08:00

I am trying to do emplace_back into a std::vector>, but could not find the right syntax to do it.

#i         


        
3条回答
  •  清歌不尽
    2021-01-17 08:04

    This seems to be currently unsupported, if I understand these issue reports right:

    http://cplusplus.github.io/LWG/lwg-active.html#2089

    http://cplusplus.github.io/LWG/lwg-active.html#2070

提交回复
热议问题