add implicit constructor for `vector<bool>::const_reference` for libcpp
Summary: Despite the standard, `std::vector<bool>::const_reference` is not `bool` in libcpp: http://howardhinnant.github.io/onvectorbool.html Add the implicit ctor so that `f(dynamic)` can be invoked with `f(v[idx])` where `v` is a `const vector<bool>` under libc++. Reviewed By: ot Differential Revision: D8992805 fbshipit-source-id: 0675174c2a247257238bb11b2c7b319653fe92a3
Showing
Please register or sign in to comment