I believe this is a bug in clang++ related to the access to a class's public member function – stackoverflow.com

The following doesn't compile in clang: #include <iostream> void f() { std::cout << "f()\n"; } struct S { typedef void(*p)(); operator p() { return f; } }; int main() { S ...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

Artikel Terkait

0 Comment to "I believe this is a bug in clang++ related to the access to a class's public member function – stackoverflow.com"