3 ms·
> Rust has Design by Contract capabilities via the contracts crate And C++ has reflection using boost ;)
by lionkor 3y ago
> Rust has Design by Contract capabilities via the contracts crate
And C++ has reflection using boost ;)
- thesuperbigfrog 3y agoContracts for C++ have been proposed: https://www.reddit.com/r/cpp/comments/cmk7ek/what_happened_to_c20_contracts/ https://www.reddit.com/r/cpp/comments/cmk7ek/what_happened_t... Not sure if / when they will land: https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2022/p0592r5.html https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2022/p05...