1. 21
  1. 20

    This is a cool trick, but also a reminder that C++ is just inherently out to ruin your day in whatever way it can.

    1. 6

      I posted it because it’s the only time I’ve read a C++ blog and felt like I understood what it was saying. 😂

    2. 9

      For the disfluent at C++, I’m left guessing how to mark an overload with =delete.

      I’m guessing void foo(const char*, int, bool = false) = delete; // #1

      1. 2

        I was wondering the same thing. Looks like you got it right! http://www.stroustrup.com/C++11FAQ.html#default