fork download
  1. #include <string>
  2.  
  3. struct LambdaType
  4. {
  5. template <typename T>
  6. bool operator()(T) const { return false; }
  7. };
  8.  
  9. int main()
  10. {
  11. decltype(&LambdaType::operator()<int>) x = nullptr;
  12. }
  13.  
  14.  
Success #stdin #stdout 0s 2892KB
stdin
Standard input is empty
stdout
Standard output is empty