mastodon.cardina1.red は、数々の独立したMastodonサーバーのうちのひとつです。サーバーに登録してFediverseのコミュニティに加わってみませんか。

サーバーの情報

3
人のアクティブユーザー

std::static_pointer_cast, std::dynamic_pointer_cast, std::const_pointer_cast, std::reinterpret_pointer_cast - cppreference.com
en.cppreference.com/w/cpp/memo

あとは std::shared_ptr の {static,dynamic,const,reinterpret}_pointer_cast が文法レベルの {static,dynamic,const,reinterpret}_cast と見た目同じになるのもすげえ “発明” だなと思った

en.cppreference.comstd::static_pointer_cast, std::dynamic_pointer_cast, std::const_pointer_cast, std::reinterpret_pointer_cast - cppreference.com
らりお・ザ・何らかの🈗然㊌ソムリエ

たぶんどちらかというと逆で、キャストの構文がうまいこと template function に合わせて作られたというのが実情なんだろうけど……