Code consisitency/correctness around pointers
还没有人认领这个 Issue。
评估
调研方向
从 src/vtquery.cpp 的第 26-29 行开始,这里引用了指针声明。将这些声明与周围的 const-reference 风格进行比较,并在指针语法与文件的其余部分保持一致时视为工作完成。
由索引模型根据 Issue 内容生成。
描述
In regards to https://github.com/mapbox/vtquery/blob/5ffe8d7dac2851031b873ba088a27f1ae5add78a/src/vtquery.cpp#L26-L29
@alliecrevier ask:
[nitpick] Since T const& instead of const T& is the style used throughout this code file, it might make sense to use this style for pointers as well. So instead of const char* and static const char* you would use char const* and static char const* respectively. It looks weird to me but it's consistent!
- 主要语言
- JavaScript
- 星标
- 45
- 派生
- 14
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
mapbox/vtquery 的其他 Issue
-
难度 5/5 一周以上 新手友好度 25/100
-
难度 4/5 3-5 天 新手友好度 35/100
-
when to use std::int32_t and std::int64_t可能重新可做 @joto 于 3033 天前认领,目前没有进行中的 PR。 未关闭
难度 5/5 一周以上 新手友好度 25/100
-
union geometries未关闭
难度 5/5 一周以上 新手友好度 25/100
-
难度 3/5 1-2 天 新手友好度 35/100
相似的 Issue
-
BUG
难度 2/5 1-3 小时 新手友好度 74/100
维护者通常 1 天内回复
-
type/bug
难度 1/5 1 小时以内 新手友好度 75/100
flarum/framework#5231 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
apache/rocketmq-dashboard#6896 ·
维护者通常 3 天内回复
-
bug good first issue
难度 2/5 1-3 小时 新手友好度 84/100
维护者通常 1 天内回复
-
[workshop-sync] workshop/side-quest-17-06-output-injection.md: stale add_comment.cjs line references未关闭documentation
难度 2/5 1-3 小时 新手友好度 78/100
githubnext/gh-aw-workshop#4679 ·
维护者通常 1 天内回复