#include <string>

struct C
{
  template <class T> operator T() { return T{}; }
};

int main() {
  std::string x;
  x = C{};
}