cpp-best-practices / cpp-best-practices/cppbestpractices

Consider Avoiding Boolean Parameters

未關閉
#99 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
沒有語言資料
星號
8.8k
分支
902
PR 合併指標
30 天內沒有已合併 PR

描述

I'd like to make the observation that perhaps this is a good place for templated functions instead of runtime checks.
If so, how often would you see this in production code?

貢獻指南

這個儲存庫沒有索引到貢獻指南

研究方向

此 issue 未指出檔案、區段、測試或實作進入點。先找出 repository 中關於 boolean 參數的指引,接著判斷這個開放式問題是否值得提出一份文件化的建議,並定義讓此 issue 可被視為完成所需的正式環境使用證據或範例。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
cpp
領域
documentation
Issue 類型
文件
難度
5/5
預估耗時
一週以上
活躍度
停滯
描述清晰度
需要釐清
新手友好度
20/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。