08/05/25 09:06:16
>>93
URLリンク(www.boost.org)
のMEMBERS OFの項に、
The adjacency iterator type implements the member functions and
operators required of the Random Access Iterator concept, except
that the reference type is the same as the value_type so operator*()
returns by-value.
と記述があるのです。この説明はadjacency_iterator_generator::typeに
ついてのものだと思っていたのですが、勘違いでしょうか?
もう一度ドキュメントを読み返してみたら、MODEL OFの項に
The adjacency iterator adaptor (the type adjacency_iterator_generator<...>::type)
is a model of Multi-Pass Input Iterator .
と記述されていました。これならば、operator+()が定義されていなくても
当然なのですが、ちょっと混乱しています。