• aaaaaaaaargh@feddit.org
    link
    fedilink
    arrow-up
    24
    ·
    1 day 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
      0
      arrow-down
      3
      ·
      21 hours ago

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