Kazutoshi SATODA

Results 2 issues of Kazutoshi SATODA

( close となった issue の reopen はできなかったので、つづきを別 issue としています。) https://github.com/EzoeRyou/cpp-intro/issues/3#issuecomment-447260485 より: > ...昔のC言語では0はnullポインターの値だと規格上定められてはいなかった。 「規格」としておそらく最古の C89 時点でも `0` はヌルポインタ定数とされています。 http://port70.net/~nsz/c/c89/c89-draft.html#3.2.2.3 > An integral constant expression with the value 0, or such...

@yohhoy (CC: @nilgawa) [is_pointer_interconvertible_base_of.md](https://github.com/cpprefjp/site/blob/66f3ed2475c0832c41bb99f7df92896a9f7567eb/reference/type_traits/is_pointer_interconvertible_base_of.md) より: ```cpp struct B { int m; }; struct D : B {}; int main() { // スタンダードレイアウト派生クラスDは非静的データメンバをもたず、 // スタンダードレイアウト基底クラスBから曖昧さなく派生しているため、 // 基底クラスBと派生クラスDはポインタ相互交換可能である。 static_assert(std::is_pointer_interconvertible_base_of_v); ``` @yohhoy ここの「クラスDは非静的データメンバをもたず」は正しくないように思います。...

help wanted