allow dynamic to accept vector<bool>::reference
Summary: `std::vector<bool>` is a bit specific ([1], [2] and [3]), so element access doesn't return bool, but `std::vector<bool>::reference` instead. Folly did not know how to cast it to bool. [1]: http://en.cppreference.com/w/cpp/container/vector_bool [2]: http://en.cppreference.com/w/cpp/container/vector_bool/reference [3]: https://en.wikipedia.org/w/index.php?title=Sequence_container_(C%2B%2B)&oldid=767869909#Specialization_for_bool Reviewed By: yfeldblum, ot Differential Revision: D7986013 fbshipit-source-id: 01c1350b3f6815e9da4ce6305f25e4b9b1ca9d6d
Showing
Please register or sign in to comment