If 32 == vchData.size(): vchData[32] -> Out of bounds (Runtime error) vchData.begin() + 32 -> vchData.end() (Perfectly valid operation)
If 33 == vchData.size(): - both notations work.
If 32 == vchData.size(): vchData[32] -> Out of bounds (Runtime error) vchData.begin() + 32 -> vchData.end() (Perfectly valid operation)
If 33 == vchData.size(): - both notations work.
Automatic sanity-testing: PASSED, see http://jenkins.bluematt.me/pull-tester/p4962_09e6bf04981243e2facb27a9c945875d6910a55a/ for binaries and test log. This test script verifies pulls every time they are updated. It, however, dies sometimes and fails to test properly. If you are waiting on a test, please check timestamps to verify that the test.log is moving at http://jenkins.bluematt.me/pull-tester/current/ Contact BlueMatt on freenode if something looks broken.
utACK
Presumably this would turn what would've been an abort into a logical error. @sipa I guess the Check() inside of Set() is enough to make this fail gracefully if necessary?
Might be worth checking vchData.size() before the Set() to make it more clear.
Merged via 6f3ae9b