• taladar@sh.itjust.works
    link
    fedilink
    arrow-up
    0
    ·
    5 months ago

    const expressions are evaluated at compile time and can be used in locations where you would have to otherwise specify a literal (or something that amounts to a named literal like a const value).