std::type_index for class IDs
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
この issue では、ファイル、テスト、エントリーポイントが指定されていません。まず hxcpp の type-ID と例外処理の内部実装を追跡し、その後、std::type_index と typeid が hx::Throwable および externed hx::Object サブクラスにどのような影響を与えるかを評価してください。この issue では、具体的な完了基準は定義されていません。
索引モデルが issue の本文から書いたものです。
説明
I've been thinking about what using the C++11 std::type_index in combination with typeid would allow if that were to be used as the basis for type IDs instead of IDs generate by the haxe compiler.
Now that the cpp.ManagedType metadata allows externing custom hx::Object subclasses it would be nice to have a hx::Throwable class which all exceptions (including haxe.Exception) inherit, this would mean hxcpp internals wouldn't be throwing around strings. The problem with this is that exceptions require type checking to work and with the haxe compiler generating type IDs having that base class implemented in hxcpp makes things a bit of a pain. If std::type_index were used type checking against custom hx::Object subclasses suddenly becomes much more feasible.
This could also open up the possibility of the haxe compiler generating reflection / closure support for externed hx::Object subclasses to save the user needing to hand write it to work with the existing setup.
- 主要言語
- C++
- スター
- 330
- フォーク
- 230
- 平均マージ
- 1日 6時間
- マージ済み PR(30日)
- 9
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
HaxeFoundation/hxcpp のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
HaxeFoundation/hxcpp#1217 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
HaxeFoundation/hxcpp#1396 ·
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 65/100
HaxeFoundation/hxcpp#1391 · コメント 6 件 ·
メンテナーはふだん 1 日以内に返信
-
Removing some architectures, platforms, or code paths, better support for others対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
HaxeFoundation/hxcpp#1386 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
HaxeFoundation/hxcpp#1380 ·
メンテナーはふだん 1 日以内に返信
HaxeFoundation/hxcpp の issue をすべて見る
似ている issue
-
code-quality libc++
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
llvm/llvm-project#229284 ·
メンテナーはふだん 1 日以内に返信
-
test-issue
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
llvm/offload-test-suite#1557 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
iOS: hidden scale bar invalidates its intrinsic content size on every layout pass of MLNMapViewオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
maplibre/maplibre-native#4723 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
HarbourMasters/Shipwright#7320 ·
メンテナーはふだん 1 日以内に返信