• aaaaaaaaargh@feddit.org
    link
    fedilink
    arrow-up
    18
    ·
    2 months ago

    What!? constexpr is one of the best additions to C++ ever since. And I do like auto even though I get why some folks can’t stand it.

    • ulterno@programming.dev
      link
      fedilink
      English
      arrow-up
      1
      arrow-down
      2
      ·
      2 months ago

      Yeah, it’s so good that reality is flaking at the edges because of using constexpr auto x = whatever().