我想将一个对象置于std::map其构造函数不带任何参数的对象中.但是,std::map::emplace除了密钥之外,似乎还需要至少一个额外的参数.那么如何将零参数转发给构造函数呢?
std::map
std::map::emplace
c++ c++11
c++ ×1
c++11 ×1