cginternals / cginternals/cppexpose
Add nullptr semantics to Connection and ScopedConnection
Aperta
decision required
- Lingua principale
- C
- Stelle
- 28
- Fork
- 12
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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`.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.