SorteKaninA to Rust@programming.dev · 8 months agoInline const expressions have been stabilisedgithub.comexternal-linkmessage-square12fedilinkarrow-up141arrow-down10
arrow-up141arrow-down1external-linkInline const expressions have been stabilisedgithub.comSorteKaninA to Rust@programming.dev · 8 months agomessage-square12fedilink
minus-squareMiaou@jlai.lulinkfedilinkarrow-up4·8 months agoIt can be used for producing const values in arbitrary context. Can basically be swapped for c++'s constexpr. C++'s const does not exist in rust (values are const by default).
It can be used for producing const values in arbitrary context. Can basically be swapped for c++'s constexpr.
C++'s const does not exist in rust (values are const by default).