Use of deprecated Bind placeholders
還沒有人認領這個 Issue。
評估
研究方向
從 boost/python/exception_translator.hpp 和 boost/python/iterator.hpp 開始,找出其中的 Boost.Bind include 以及全域佔位符 _1 和 _2 的使用位置。當這些標頭檔使用 boost/bind/bind.hpp 和帶有 namespace 限定的佔位符,且這兩個檔案中不再存在對已棄用全域佔位符的使用時,工作即完成。
由索引模型根據 Issue 內容生成。
描述
Some of the Boost.Python headers still use the deprecated Bind placeholders in the global namespace:
/usr/include/boost/bind.hpp:41:1: note: #pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use <boost/bind/bind.hpp> + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.
Fix the files:
- <boost/python/exception_translator.hpp>
- <boost/python/iterator.hpp>
with fixes:
- Replace <boost/bind.hpp> and <boost/bind/placeholders.hpp> with <boost/bind/bind.hpp>
- Replace (global)
_1withboost::placeholders::_1 - Replace (global)
_2withboost::placeholders::_2
- 主要語言
- C++
- 星號
- 537
- 分支
- 223
- 平均合併
- 19 小時 33 分鐘
- 30 天內合併 PR
- 1
環境準備
這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
boostorg/python 的其他 Issue
-
難度 1/5 1 小時以內 新手友好度 84/100
-
難度 2/5 1-3 小時 新手友好度 68/100
-
難度 2/5 1-3 小時 新手友好度 64/100
-
BoostDetectToolset-1.90.0.cmake file not found in an include() call in boost_python-config.cmake未關閉
難度 3/5 1-2 天 新手友好度 48/100
-
難度 4/5 3-5 天 新手友好度 25/100
相似的 Issue
-
難度 1/5 1 小時以內 新手友好度 92/100
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 72/100
cp-algorithms/cp-algorithms#1715 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 78/100
Icinga/icinga2#11058 · 1 則留言 ·
維護者通常 1 天內回覆
-
status:needs-triage
難度 2/5 1-3 小時 新手友好度 88/100
PX4/PX4-Autopilot#28924 ·
維護者通常 1 天內回覆
-
component: split-view platform: windows
難度 2/5 1-3 小時 新手友好度 74/100
zen-browser/desktop#15616 · 1 個 reaction ·
維護者通常 1 天內回覆