There is another hidden drawback of using this scheme: it is not iterator-friendly, since the map views iterators must be degraded to Read Write instead of LValue.

  • 使用这一机制还有另一个隐藏的缺点:它不太好进行迭代,因为映射视图迭代器必须退化为读写的而不是左值的。
目录 查词历史