Boost python uses privat headers from Boost.iterator

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

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

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
45/100
issue の種類
リファクタリング
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
cpp
領域
backend

調査の方向性

include/boost/python/object_operators.hpp の、issue でリンクされている include ブロックから始めます。iterator の enable_if と config_def/config_undef の使用を Boost.Core の boost::enable_if と比較し、その後、それらの iterator include を削除しても既存の Boost.Python のビルドとテストが維持されることを確認します。

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

説明

Is there a particular reason, why object_operators.hpp includes enable_if and config_def/undef from iterator?:

https://github.com/boostorg/python/blob/0a9b687e9ec653708bdfa5816730c3c3ec5872e3/include/boost/python/object_operators.hpp#L12

I haven't tried to understand the code, but as far as I can tell, removing the includes and using boost::enable_if from boost core instead of boost::iterators::enable_if just works as expected (only tested with VS2017 in c++17 mode).

主要言語
C++
スター
537
フォーク
223
平均マージ
11時間 22分
マージ済み PR(30日)
2

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

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

boostorg/python のほかの issue

boostorg/python の issue をすべて見る

似ている issue

C++ の issue をもっと見る

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

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