Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add some operator overload support for comparison to nullptr_t #901

Merged
merged 1 commit into from
Apr 18, 2016

Conversation

codemercenary
Copy link
Contributor

Some clients prefer to explicitly test Autowired<T> against nullptr, and this was supported in prior releases. Provide the necessary operator overloads to do so.

Some clients prefer to explicitly test `Autowired<T>` against `nullptr`, and this was supported in prior releases.  Provide the necessary operator overloads to do so.
@yeswalrus
Copy link
Contributor

+1, has tests, and these are pretty useful.

@yeswalrus yeswalrus merged commit eb3d0e9 into develop Apr 18, 2016
@yeswalrus yeswalrus deleted the nullptroverload branch April 18, 2016 22:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants