“CRTP mostly solves problems around inheritance, which Rust doesn't really have. There's very limited support for inheritance in the form of supertraits, but it works quite differently from C++ derived classes, so I don't think you run into the same kinds of issues. Variadic generics don't exist,

rawwellrawwell のブックマーク 2024/07/11 11:46

その他

このブックマークにはスターがありません。
最初のスターをつけてみよう!

https://www.reddit.com/r/rust/comments/ilah12/c_template_tricks_in_rust/

    \ コメントが サクサク読める アプリです /

    • App Storeからダウンロード
    • Google Playで手に入れよう