Repository navigation
Error on mismatched template predicate #323
zaides-blackduck
started this conversation in
Issue Triage - Compilation
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Issue Summary
EDG 7.0 can't match c style predicate function to a std::function type method with same parameters and return value. This is a valid matching in GCC but not in clang.
Reproducing Source Code
reproducer.cpp
Command-line Options
--c++23
Type of Issue
[Front End] This code SHOULD compile with these options.
Additional Details
Compiles with GCC (tested 12.1+), does not compile with clang.
Reproducing (Standard) Configuration(s)
No response
Reproducing (Non-standard) Configuration
No response
I acknowledge that:
LICENSE.txtfile in my.zipor.tar.gzupload. If I included aLICENSE.txtfile, any tests created using the reproducing source code will be governed by the terms of the license I provided instead.All reactions