Ensure types correctly use `allocator_traits<A>::pointer`

オープン
#348 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
38/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
cpp
領域
testing-qa

調査の方向性

まず、リンクされている PR #345 と allocator_traits::pointer に関するその議論を読んでください。カスタムの offset_ptr 風の実装を使用したテストを追加し、Boost への必須依存を避けてください。テストによって、関連する型が allocator のポインター型を正しく使用していることを検証できれば、作業完了とします。

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

説明

help wanted

Add tests to ensure types correctly use allocator_traits<A>::pointer, ideally based on boost::offset_ptr.

As @Quuxplusone points out on this PR there should be further testing added for testing to ensure types correctly make use of allocator_traits<A>::pointer.

Adding Boost as a dependency is a little heavy weight as we require a mechanism for supporting the dependency (perhaps Conan?). However, we could emulate this with a custom offset_ptr implementation for the tests.

主要言語
C++
スター
88
フォーク
15
平均マージ
1時間 11分
マージ済み PR(30日)
1

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

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

jbcoe/value_types のほかの issue

jbcoe/value_types の issue をすべて見る

似ている issue

C++ の issue をもっと見る

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

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