Interesting. Can you just change that part of cpp-netlib instead that doesn't build, use `string_ref.compare(...)` , and send a PR to fix that case? I would suppose you still want to ask the Boost mailing list why string_ref doesn't have equality operator for `const char*` when it really should have one.