可以通过从 std::iterator<> 派生来定义你自己的自定义迭代器。

Last modified: Thursday, 30 January 2025, 3:14 PM