fork download
  1. #include<iostream>
  2. #include<type_traits>
  3.  
  4. int main() {
  5.  
  6. int volatile * volatile ptr_v_v;
  7. int volatile * ptr_v;
  8.  
  9. std::cout << std::boolalpha;
  10. std::cout << std::is_same<decltype(ptr_v_v), decltype(ptr_v)>::value << std::endl;
  11.  
  12. return 0;
  13. }
Success #stdin #stdout 0s 2896KB
stdin
Standard input is empty
stdout
false