Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Remove unnecessary null pointer checks #1107
How do you think about to clarify another implementation detail for the class "disposer"?
I would interpret the function "operator()" in the way that an input parameter is set to the value "nullptr". I find that this kind of assignment would only make sense if the data type for this parameter will be a reference to a pointer.