[libc++] Add `explicit` to a bunch of internal detail ctors.
authorArthur O'Dwyer <arthur.j.odwyer@gmail.com>
Wed, 9 Feb 2022 22:30:46 +0000 (17:30 -0500)
committerArthur O'Dwyer <arthur.j.odwyer@gmail.com>
Tue, 1 Mar 2022 19:37:06 +0000 (14:37 -0500)
commitf86c2b6f1f3682cef24fb74edd5d02eb8f2707f7
tree736beccf6b18925dd92ac2874b6cb11e55af0579
parent50874a188b94a25827963956887b878d3701509a
[libc++] Add `explicit` to a bunch of internal detail ctors.

Notably the following ctors remain non-explicit because they
are used as implicit conversions in too many places:
* __debug_less(_Compare&)
* __map_iterator(_TreeIterator)
* __map_const_iterator(_TreeIterator)
* __hash_map_iterator(_HashIterator)
* __hash_map_const_iterator(_HashIterator)

Differential Revision: https://reviews.llvm.org/D119894
libcxx/include/__bit_reference
libcxx/include/__debug
libcxx/include/__hash_table
libcxx/include/__iterator/common_iterator.h
libcxx/include/__iterator/istreambuf_iterator.h
libcxx/include/__memory/compressed_pair.h
libcxx/include/__string
libcxx/include/deque
libcxx/include/iomanip