4 Sep 09:36
[iterator] could non-small predicates/functors be stored as boost::optional<T> to avoid double construction?
From: Thorsten Ottosen <thorsten.ottosen <at> dezide.com>
Subject: [iterator] could non-small predicates/functors be stored as boost::optional<T> to avoid double construction?
Newsgroups: gmane.comp.lib.boost.devel
Date: 2008-09-04 07:39:17 GMT
Subject: [iterator] could non-small predicates/functors be stored as boost::optional<T> to avoid double construction?
Newsgroups: gmane.comp.lib.boost.devel
Date: 2008-09-04 07:39:17 GMT
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 _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
RSS Feed