Debian Codegraph @

LspCpp/third_party/uri/test/string_utility.hpp

raw
1 // Copyright 2013-2016 Glyn Matthews.
2 // Distributed under the Boost Software License, Version 1.0.
3 // (See accompanying file LICENSE_1_0.txt of copy at
4 // http://www.boost.org/LICENSE_1_0.txt)
5
6 #ifndef URI_TEST_STRING_UTILITY_INC
7 #define URI_TEST_STRING_UTILITY_INC
8
9 #include <network/string_view.hpp>
10
11 namespace network {
12 inline bool operator==(const char *lhs, string_view rhs) {
13 return string_view(lhs) == rhs;
14 }
15 } // namespace network
16
17 #endif // URI_TEST_STRING_UTILITY_INC