Closed
Description
currently closed bug here (maybe reopen that and close this one)
namespace moo
{
template <typename T>
constexpr bool baa = true;
template <typename T> requires baa<T>
void caw();
}
template <typename T> requires moo::baa<T>
void moo::caw() {}
(using -std=c++26)
clang (trunk): error: out-of-line definition of 'caw' does not match any declaration in namespace 'moo'
gcc: compiles successfully
Metadata
Metadata
Assignees
Labels
Language frontend issues, e.g. anything involving "Sema"Language frontend issues, e.g. anything involving "Sema"C++20 conceptsC++20 conceptsVerified by a second partyVerified by a second party