2 * Copyright (c) 2023 Philippe Proulx <pproulx@efficios.com>
4 * SPDX-License-Identifier: MIT
7 #ifndef BABELTRACE_CPP_COMMON_BT2S_STRING_VIEW_HPP
8 #define BABELTRACE_CPP_COMMON_BT2S_STRING_VIEW_HPP
10 #include "cpp-common/vendor/string_view-standalone/string_view.hpp"
14 template <typename CharT, typename TraitsT = std::char_traits<CharT>>
15 using basic_string_view = bpstd::basic_string_view<CharT, TraitsT>;
17 using string_view = bpstd::string_view;
18 using wstring_view = bpstd::wstring_view;
19 using u16string_view = bpstd::u16string_view;
20 using u32string_view = bpstd::u32string_view;
22 } /* namespace bt2s */
24 #endif /* BABELTRACE_CPP_COMMON_BT2S_STRING_VIEW_HPP */