fork(2) download
  1. #include <type_traits>
  2.  
  3. auto f1 = [] { return 1; };
  4. auto f2 = [] { return 1; };
  5. static_assert(!std::is_same<decltype(f1), decltype(f2)>::value, "He's wrong");
  6.  
  7. int main() {
  8. return 0;
  9. }
Success #stdin #stdout 0s 3336KB
stdin
Standard input is empty
stdout
Standard output is empty