summaryrefslogtreecommitdiff
path: root/graphics/asymptote/LspCpp/third_party/uri/test/string_utility.hpp
blob: 71d22746bb88097a612bc21ec4b97aea47a73fbe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright 2013-2016 Glyn Matthews.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt of copy at
// http://www.boost.org/LICENSE_1_0.txt)

#ifndef URI_TEST_STRING_UTILITY_INC
#define URI_TEST_STRING_UTILITY_INC

#include <network/string_view.hpp>

namespace network {
inline bool operator==(const char *lhs, string_view rhs) {
  return string_view(lhs) == rhs;
}
}  // namespace network

#endif  // URI_TEST_STRING_UTILITY_INC