Improve string comparisons
Summary: Any pair of read-compatible (same type, same traits) basic_strings (`basic_fbstring` or `std::basic_string`) can now be compared to each other with the `==`, `!=`, `<`, `>`, `<=`, and `>=` operators. If you have a C++14 environment this allows you to use the heterogeneous comparison lookup methods from N3657: you can query containers which store either string type with either string type efficiently. Reviewed By: yfeldblum, ot Differential Revision: D4905697 fbshipit-source-id: 2ea976ebf40af45d64c1d8c1c08847feb3b9db68
Showing
Please register or sign in to comment