$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: [boost] [iterator] could non-small predicates/functors be stored as boost::optional<T> to avoid double construction?
From: Thorsten Ottosen (thorsten.ottosen_at_[hidden])
Date: 2008-09-04 03:39:17
Hi,
The headline pretty much says it all. Take transform iterator. When the
predicate is not trivial, we also have a redundant construction of the
object in the end iterator. Maybe that could be removed?
best regards
-Thorsten