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

Compiler compatibility for Visual Studio 2017 (v141) #2822

Merged

Conversation

rsc-vitronic
Copy link

Description

The problem with (and only with) Visual Studio 2017 was that the friend bool operator== could not sufficient resolved / matched for a template class. In this case it was caused by the ExtendedMultResult.
An detailed description of the porblem and the boiled down problem can be found in the issue #2792.

As Martin mentioned in the issue #2792: Make the operator not-friend is a sufficient solution.

GitHub Issues

Compiler problem with operator and include catch_all.hpp #2792

…end operator == (catchorg#2792).

Make the operator not-friend is a sufficient solution. Closes catchorg#2792
Copy link

codecov bot commented Feb 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.33%. Comparing base (f476bcb) to head (afea5b4).

Additional details and impacted files
@@           Coverage Diff           @@
##            devel    #2822   +/-   ##
=======================================
  Coverage   91.33%   91.33%           
=======================================
  Files         197      197           
  Lines        8289     8289           
=======================================
  Hits         7570     7570           
  Misses        719      719           

@horenmar
Copy link
Member

Thanks I guess, I would happily leave VS 2017 unsupported. 😃

@horenmar horenmar merged commit 4f3871d into catchorg:devel Feb 23, 2024
72 checks passed
@dayfixer
Copy link

Thanks a lot!!

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