sonible / VCTR

A powerful C++ 20 wrapper around your favorite standard library containers
https://sonible.github.io/VCTR/
Other
25 stars 1 forks source link

Unit Tests: Fixed compile error in Divide test with newer Apple Clang #127

Open JanosGit opened 7 months ago

JanosGit commented 7 months ago

I ran into a compile error here when attempting to build the unit tests with a recent Xcode version. Seems like the compiler attempted to instantiate the function template with some invalid types. The lambdas with explicit argument types fixed it.

JanosGit commented 6 months ago

From what I get this is caused by some explicitly overloaded operator/ definitions from the Xcode 15 standard library. Unfortunately, the change which fixes the macOS build now explicitly breaks the Linux build.