$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: rogeeff (rogeeff_at_[hidden])
Date: 2001-12-14 00:46:05
Hi,
I have a question about iterator_adaptor. The iterator_adaptor seems
to assume that Policies are stateless. For example, it never copy
them in copy constructor and iterator. Why it was designed that way?
Another related questions:
Why does not iterator_adapter has a copy_constructor/assignment
accepting Base iterator?
Why does not iterator_adapter has a constructor accepting some
argument to be passed to policy constructor?
If there are reasons for such design, how to implement what I need?
Another separate issue:
If my Base input iterator returns reference as result of operator*,
how to prevent iterator_adaptor::operator-> to create a proxy?
Thank you,
Gennadiy.