Provide a type and memory safe interface for `attribute`

オープン
#4,566 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 3 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
cpp

調査の方向性

まず、リンクされた pull request と、attribute、getattribute、および関連する API の現在の宣言と実装を読んでください。issue ではファイルやテストは指定されていません。cspan ベースの属性インターフェースを追加し、関連する関数を更新し、段階的な非推奨化に向けて既存の呼び出しを特定すれば完了です。

索引モデルが issue の本文から書いたものです。

説明

core APIs

This feature request is a continuation of this thread https://github.com/AcademySoftwareFoundation/OpenImageIO/pull/4560 aiming to provide a more type safe interface for setting and reading attributes rather than reading from a raw pointer.

This would be done as an addendum to the current API with the other calls then slowly being deprecated over time

### Tasks
- [ ] Create `attribute` function taking a cspan
- [ ] Update all the related `getattribute` etc. functions to reflect these changes
主要言語
C++
スター
2.4k
フォーク
727
平均マージ
4日 8時間
マージ済み PR(30日)
67

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

AcademySoftwareFoundation/OpenImageIO のほかの issue

AcademySoftwareFoundation/OpenImageIO の issue をすべて見る

似ている issue

C++ の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。