You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
The c++ standard library uses
nullptr
to mean "empty" not only for pointers (e.g.,std::function
). I suggest to add the same semantics toConnection
andScopedConnection
, i.e., assigning and comparing withnullptr
has the same effect as assigning and comparing with a default constructed[Scoped]Connection
.The text was updated successfully, but these errors were encountered: