[all-commits] [llvm/llvm-project] 416b15: [libcxx] Remove swap for std::span
Jan Wilken Dörrie via All-commits
all-commits at lists.llvm.org
Wed May 20 11:34:42 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 416b1560c597455dfae9e58d2a249d4061d729bf
https://github.com/llvm/llvm-project/commit/416b1560c597455dfae9e58d2a249d4061d729bf
Author: Jan Wilken Dörrie <jdoerrie at google.com>
Date: 2020-05-20 (Wed, 20 May 2020)
Changed paths:
M libcxx/include/span
Log Message:
-----------
[libcxx] Remove swap for std::span
This change removes both the member function swap and the free function
overload of swap for std::span. While swap is a member and overloaded
for every other container in the standard library [1], it is neither a
member function nor a free function overload for std::span [2].
Thus the corresponding implementation should be removed.
[1] https://eel.is/c++draft/libraryindex#:swap
[2] https://eel.is/c++draft/span.overview
Differential Revision: https://reviews.llvm.org/D69827
More information about the All-commits
mailing list