[PATCH] D56997: Fix implementation of P0966 - string::reserve Should Not Shrink
Andrew Luo via Phabricator
reviews at reviews.llvm.org
Tue Jan 22 18:58:31 PST 2019
andrewluo added a comment.
Made some changes to keep behavior the same in older -std= dialects. We shouldn't overload the function to avoid code such as:
auto f(&::std::string::reserve); // Ambiguous post C++17
from breaking for std < 17 (will break if -std=c++2a however)
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D56997/new/
https://reviews.llvm.org/D56997
More information about the libcxx-commits
mailing list