Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Proposal for OpenHarmony Adaptation of [ variant2 ]

未关闭
#52 0 条评论 2 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
25/100
Issue 类型
功能
描述清晰度
需要澄清
活跃度
停滞
技术栈
cpp

调研方向

该 issue 没有列出任何文件或入口点。首先检查 repository 现有的构建、打包、示例样例和原始库测试用例,然后评估拟议的 OpenHarmony 适配。完成标准是库能够为 OpenHarmony 构建,包含拟议的 samples,并在该环境中通过现有测试。

由索引模型根据 Issue 内容生成。

描述

Background

OpenHarmony is an open-source operating system and community that is widely used in the field of intelligent terminals.

Variant2 library implements a type-safe discriminated/tagged union type. In order to enable variant2 to support the OpenHarmony system, we have modified some of the code of variant2. We plan to submit the modified code to the variant2 community. The purpose of creating this Issue is to initiate discussions with the community. We sincerely welcome you to put forward your valuable suggestions.

Adaptation Proposal

We have completed the adaptation of variant2 on OpenHarmony. The specific content is as follows:

  • The construction/packaging of variant2 was realized based on the OpenHarmony environment and development tools.
  • Provide sample examples of using variant2 in OpenHarmony application development.

We'll submit the adaptation code through a Pull Request (PR) promptly.

Testing Results

Based on the OpenHarmony system, we conducted unit tests on variant2 using the original library test cases and passed the tests in the following versions:

DevEco Studio 5.0.3 Release-5.0.9.221, SDK: API15(OpenHarmony 5.0.3.135)
DevEco Studio 5.0.4 Beta1-5.0.9.320, SDK: API16 (OpenHarmony 5.0.4.150)
DevEco Studio 5.0.3 Release-5.0.9.300, SDK: API15(OH_SDK 5.0.3.135(SP1))
DevEco Studio 5.0.4 Beta1 5.0.9.320, SDK: API16(OH SDK 5.0.4.150)

If necessary, we can provide detailed test reports at any time.

Labels

enhancement, compatibility, cross-platform

主要语言
C++
星标
71
派生
41
PR 合并指标
30 天内没有已合并 PR

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

boostorg/variant2 的其他 Issue

查看 boostorg/variant2 的全部 Issue

相似的 Issue

更多 C++ Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。