Boost logo

Boost Users :

Subject: Re: [Boost-users] Reverse for loop with boost::adaptors::reverse crashes
From: Filip Konvička (filip.konvicka_at_[hidden])
Date: 2014-11-26 02:54:14


> I think [
> http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n4128.html ] is
> the latest proposal.

Thanks. I think that in the document section 3.3.2 nicely illustrates
the issue, and section 14.1 describes a way to tell whether the argument
is an 'Iterable'. So isn't there a way to disable the misuse with the
currently available weapons? Isn't it possible to test that a value to
be converted to a range is an r-value non-Range?

Thanks,
Filip


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net