DescriptionSimplify mojo::internal::ArrayTraits.
Also, stop doing a whole bunch of unnecessary stuff in the move-only
case (some of it was necessary to handle move-only types, pre-C++11;
some of it -- like the alignment stuff -- was of rather dubious
necessity and correctness).
Probably it can/should be improved even more. E.g., PushBack() should be
reworked (into two overloaded versions, a const T& one and a T&& one).
That leaves only Clone(), which is a bit more tricky.
R=jamesr@chromium.org
Committed: https://chromium.googlesource.com/external/mojo/+/745b55da533a4f73db721f4f78bcdd0070c39f5d
Patch Set 1 #
Messages
Total messages: 4 (0 generated)
|