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

サーバーの情報

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

C23 から bool でいけるのか (stdbool.h みたいなの必要だったりする?)

C++ で std::hash_map じゃなくて std::unordered_map にしたやつとかもそうだけど、なんかあの辺りの「既存コードでユーザが使っている識別子と競合すると困るのでキーワードや標準の名前を追加できない」みたいなのを見ると C/C++ だなぁとなる

らりお・ザ・何らかの🈗然㊌ソムリエ

Predefined Boolean constants (since C23) - cppreference.com
en.cppreference.com/w/c/langua

> Until C23, true and false were implemented as macros provided in <stdbool.h>. An implementation may also define bool, true, and false as predefined macros in C23 for compatibility.

あー、 C23 からは stdbool.h なしで使えるようになるとかそういう話か

en.cppreference.comPredefined Boolean constants (since C23) - cppreference.com