Article by Çağlayan Dökme

  • phirus@feddit.de
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 year ago

    I also like to use std::optional if a function may not return a result so I won’t have to return a pointer, that might be a nullptr.

    And std::variant as a typesafe less hacky union.