Using ++ as a prefix to a statement of access through class member not causing an error

后端 未结 0 1732
感情败类
感情败类 2020-11-28 05:05

I am kind of confused right now, I was running the following code:

std::vector test{1, 5, 10};
++test.at(1); // I\'m trying to increment that numbe         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题