commit | 0357237ccdf06d5337f96dc9d9b300028a821466 | [log] [tgz] |
---|---|---|
author | Dominik Laskowski <domlaskowski@google.com> | Tue Oct 27 22:36:00 2020 -0700 |
committer | Dominik Laskowski <domlaskowski@google.com> | Tue Nov 03 13:51:19 2020 -0800 |
tree | 411bbf9ebc1e1311a12ecdc498abb6ccb3ef491e | |
parent | 60b120adc62c8d07f4e4b35d4642eb8773238356 [diff] |
FTL: Make StaticVector::replace infallible std::move from a temporary to avoid bailing out when the vector is full, with the caveat that replacing at end() is no longer valid. Also, disable iterator constructor for ambiguous types, and document preconditions/postconditions for all functions. Bug: 160012986 Test: ftl_test Change-Id: I78397517ed11098067fff1cb04f735b29756c9cf