问题描述
我正在尝试直接写入
auto tablelisttt = std::make_shared<std::vector< std::array<std::string,9>>(size);
for (int j = 1; j <=max; j++)
{
//dummy example code
tablelisttt->operator[0](j)="Hello"; //Only one string at a time in an array
}
但无论我尝试什么,我都无法使用 msvc 编译器直接将其写入向量数组(gcc 在线编译器可以工作)
我使用 c++19
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)