$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Arno Schödl (aschoedl_at_[hidden])
Date: 2008-09-02 06:25:45
> I've been playing around with this a bit.
> See attached.
> In Christ,
> Steven Watanabe
iterator begin() {
return iterator(boost::begin(m_range), boost::end(m_range), m_f);
}
iterator end() {
return iterator(boost::end(m_range), boost::end(m_range), m_f);
}
This would blow up, I believe. It gets expanded on both begin and end, causing exponential storage growth.
Arno
-- Dr. Arno Schoedl · aschoedl_at_[hidden] Technical Director think-cell Software GmbH · Invalidenstr. 34 · 10115 Berlin, Germany http://www.think-cell.com · phone +49-30-666473-10 · toll-free (US) +1-800-891-8091 Directors: Dr. Markus Hannebauer, Dr. Arno Schoedl · Amtsgericht Charlottenburg, HRB 85229