commit | ec7802a102d49ab5c17495118d4fe0bcc7287beb | [log] [tgz] |
---|---|---|
author | Vladimir Marko <vmarko@google.com> | Thu Oct 01 20:57:57 2015 +0100 |
committer | Vladimir Marko <vmarko@google.com> | Thu Oct 08 11:10:18 2015 +0100 |
tree | 08649609604b9c96bc48ca071c48b0af5abb1a3f | |
parent | b2e436ffcda1d7a87e7bf9133d8ed878388c73c2 [diff] |
Add DCHECKs to ArenaVector and ScopedArenaVector. Implement dchecked_vector<> template that DCHECK()s element access and insert()/emplace()/erase() positions. Change the ArenaVector<> and ScopedArenaVector<> aliases to use the new template instead of std::vector<>. Remove DCHECK()s that have now become unnecessary from the Optimizing compiler. Change-Id: Ib8506bd30d223f68f52bd4476c76d9991acacadc