这些陈述是否符合标准?
std::string str{"123"}; auto it = str.begin(); --it; ++it; // Does *it point to character '1' now?
我在g ++ 4.7.2和clang ++ 3.5上尝试了这个 - *it返回'1'.这是c ++ 11中的标准行为吗?
*it
'1'
c++ c++11
c++ ×1
c++11 ×1