“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,
“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,
このブックマークにはスターがありません。
最初のスターをつけてみよう!
https://www.reddit.com/r/rust/comments/ilah12/c_template_tricks_in_rust/
1 人がブックマーク・1 件のコメント
\ コメントが サクサク読める アプリです /