[libcxx-commits] [PATCH] D60105: Fix vector<bool>::const_reference to be 'bool'.

Eric Fiselier via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Mon Apr 1 16:57:21 PDT 2019


EricWF added inline comments.


================
Comment at: include/vector:2418
     iterator insert(const_iterator __position, size_type __n, const value_type& __x);
-    iterator insert(const_iterator __position, size_type __n, const_reference __x);
     template <class _InputIterator>
----------------
This is a drive-by fix because we never actually defined this function and because the `const value_type&` overload is sufficient in all cases.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D60105/new/

https://reviews.llvm.org/D60105





More information about the libcxx-commits mailing list