daily pastebin goal
17%
SHARE
TWEET

Untitled

a guest Jun 19th, 2017 54 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <cstring>
  2.  
  3. template<typename T> void unused(T) {}
  4.  
  5. int main() {
  6.  
  7.     char buf[ (std::size_t)(char*)(sizeof( int )) ];
  8.     std::size_t buf_size = sizeof(buf);
  9.     unused(buf_size);
  10. }
RAW Paste Data
Top