cginternals / cginternals/cppexpose

Add nullptr semantics to Connection and ScopedConnection

オープン
#29 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
decision required
主要言語
C
スター
28
フォーク
12
PR マージ指標
30日以内にマージされた PR はありません

説明

The c++ standard library uses `nullptr` to mean "empty" not only for pointers (e.g., `std::function`). I suggest to add the same semantics to `Connection` and `ScopedConnection`, i.e., assigning and comparing with `nullptr` has the same effect as assigning and comparing with a default constructed `[Scoped]Connection`.

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

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

評価

この issue はまだ評価されていません。

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

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