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 摘要。