Clang and Visual Studio compilers (but not GCC) allow one to write the code as follows:
struct A
{
operator auto() { return 0; }
};
int main()
{
A a;
a.operator auto();
}
What is operator auto? Is it an extension of a particular compiler or a standard language feature and if yes in what language standard (e.g. C++17) did it appear?