We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have implemented the functions eq, ne, etc. in my own project and there is a name clash:
[...]/doctest2.4/doctest.h:1287:37: error: call to 'ne' is ambiguous DOCTEST_BINARY_RELATIONAL_OP(1, ne)
Change lines 1286-1291 from
DOCTEST_BINARY_RELATIONAL_OP(0, eq) DOCTEST_BINARY_RELATIONAL_OP(1, ne) DOCTEST_BINARY_RELATIONAL_OP(2, gt) DOCTEST_BINARY_RELATIONAL_OP(3, lt) DOCTEST_BINARY_RELATIONAL_OP(4, ge) DOCTEST_BINARY_RELATIONAL_OP(5, le)
to
DOCTEST_BINARY_RELATIONAL_OP(0, doctest::detail::eq) DOCTEST_BINARY_RELATIONAL_OP(1, doctest::detail::ne) DOCTEST_BINARY_RELATIONAL_OP(2, doctest::detail::gt) DOCTEST_BINARY_RELATIONAL_OP(3, doctest::detail::lt) DOCTEST_BINARY_RELATIONAL_OP(4, doctest::detail::ge) DOCTEST_BINARY_RELATIONAL_OP(5, doctest::detail::le)
The text was updated successfully, but these errors were encountered:
Sorry for the late reply! Thanks for reporting - just fixed it in the dev branch!
dev
Sorry, something went wrong.
Great! Thanks for a great testing environment!
aa05975
No branches or pull requests
Description
I have implemented the functions eq, ne, etc. in my own project and there is a name clash:
Solution
Change lines 1286-1291 from
to
The text was updated successfully, but these errors were encountered: