1. 12
  1.  

  2. 2

    I was happy to learn about typeof, simultaneously surprised, because I had just learned about decltype in C++, and now less excited about decltype because it seems like simply putting back a useful feature first found in C and taken out of C++ for unknown reasons.

    1. 4

      Bear in mind that typeof is a GNU extension and not actually part of standard C. I’m not a C++ person, but from a cursory search it appears that decltype is, in contrast, officially standardized.