|
Boost :
|
- Next message: Krzysztof Czainski: "Re: [boost] [range] Proposal: addition of front(), back(), at(), operator[]"
- Previous message: Adam Wulkiewicz: "Re: [boost] [range] Proposal: addition of front(), back(), at(), operator[]"
- In reply to: Adam Wulkiewicz: "[boost] [range] Proposal: addition of front(), back(), at(), operator[]"
- Next in thread: Krzysztof Czainski: "Re: [boost] [range] Proposal: addition of front(), back(), at(), operator[]"
On Mar 23, 2014, at 12:59 PM, Adam Wulkiewicz <adam.wulkiewicz_at_[hidden]> wrote:
> For SinglePassRange it could iterate over the range and return the reference to the last element
I am not in favor of things that are sometimes silently expensive.
I would much rather this call failed for SinglePassRanges, and if I wanted that, I could write it myself.
Marshall
- Next message: Krzysztof Czainski: "Re: [boost] [range] Proposal: addition of front(), back(), at(), operator[]"
- Previous message: Adam Wulkiewicz: "Re: [boost] [range] Proposal: addition of front(), back(), at(), operator[]"
- In reply to: Adam Wulkiewicz: "[boost] [range] Proposal: addition of front(), back(), at(), operator[]"
- Next in thread: Krzysztof Czainski: "Re: [boost] [range] Proposal: addition of front(), back(), at(), operator[]"
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk