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 custom ReferenceWrapper #5

Open
arBmind opened this issue May 26, 2019 · 0 comments
Open

Add custom ReferenceWrapper #5

arBmind opened this issue May 26, 2019 · 0 comments

Comments

@arBmind
Copy link
Member

arBmind commented May 26, 2019

The std::reference_wrapper has no operator overloads for our use case. This reduces the value of our Result API a lot.

We should use a specialized ReferenceWrapper that has overloads for operator==, operator!= and operator<< for std::ostream.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant