fork download
  1. #include <iostream>
  2. #include <type_traits>
  3.  
  4. using namespace std;
  5.  
  6. int main()
  7. {
  8. double f(0.);
  9.  
  10. cout << std::is_same<decltype(f+1), decltype(f+1.)>::value << endl;
  11.  
  12. // your code goes here
  13. return 0;
  14. }
Success #stdin #stdout 0s 3296KB
stdin
Standard input is empty
stdout
1