cginternals / cginternals/cppexpose
Add nullptr semantics to Connection and ScopedConnection
オープン
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 はまだ評価されていません。