fork(6) download
  1. #include <type_traits>
  2. #include <utility>
  3.  
  4.  
  5. std::size_t operator "" _sz (unsigned long long int x)
  6. {
  7. return x;
  8. }
  9.  
  10. auto s = 1024_sz;
  11.  
  12. static_assert(std::is_same<decltype(s), std::size_t>::value, "He's wrong");
  13.  
  14.  
  15. int main()
  16. {
  17. }
  18.  
Success #stdin #stdout 0s 3336KB
stdin
Standard input is empty
stdout
Standard output is empty