From: Thorsten Ottosen (thorsten.ottosen_at_[hidden])
Date: 2006-10-12 04:48:56
David Abrahams wrote:
> Thorsten Ottosen <thorsten.ottosen_at_[hidden]> writes:
>>Shunsuke Sogame wrote:
>>>Hi gurus, under RC_1_34,
>>> #include <boost/range.hpp>
>>> #include <boost/iterator/counting_iterator.hpp>
>>> int main()
>>>VC++7.1 and GCC3.4 says a warning something like
>>>"returning address of local variable or temporary".
>>We could add operator() which would return operator()'s result by value.
>>Is anybody opposed to that?
> Probably. What is the point of doing that?
It would fix our users problem, so he can use () to do what he want.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk