abseil / abseil/abseil-cpp

Feature request: absl::wstring_view

未關閉
#124 4 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
C++
星號
18.1k
分支
3.2k
平均合併
20 小時 36 分鐘
30 天內合併 PR
1

描述

As a Windows user, I use `std::wstring` to manipulate Windows file path. I do like to use `{std,absl}::wstring_view` for efficiency.

`absl/strings/string_view` currently implements `absl::string_view` class directly rather than implementing `absl::basic_string_view` then `using string_view = basic_string_view`.

The addition of `absl::u16string_view` and `absl::u32string_view` would be nice too, but I don't need them yet.

If Abseil team fear that people might do silly thing with `basic_string_view`, then just put it in `internal` namespace, I doubt if anyone actually wants to use `basic_string_view` directly.

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。