> The layout of each object depends on its class. Some classes appear to have binary compatible function tables but there is no indication that they have any common parent classes (like in other OO languages). Furthermore, the location of the function table is not fixed: some classes have it at offset 0 of the instance, but some does not.
オブジェクト内での関数テーブルの位置が不定らしいのと
> Member functions can be referenced by the object’s function table (like “virtual” functions in C++) or they c
下手 (スコア:0)
プログラミングが下手なだけだったりして
Re: (スコア:0)
プログラミング言語にも訛りがあったりして。
Re: (スコア:0)
うっかりcreatにしちゃう、とか?
Re: (スコア:0)
C(not C++)を使ってオブジェクト指向したら、挙げられてる特徴を満たすコードになりそうですねぇ。
Re:下手 (スコア:1)
C++の黎明期、C++のプログラムを一旦Cに変換してコンパイルするっての、ありませんでしたっけ?
そのせいで、C++に変な制限がついていたりとか。
Re:下手 (スコア:2)
cfront [wikipedia.org]
Re: (スコア:0)
それ何てX11
Re: (スコア:0)
> The layout of each object depends on its class. Some classes appear to have binary compatible function tables but there is no indication that they have any common parent classes (like in other OO languages). Furthermore, the location of the function table is not fixed: some classes have it at offset 0 of the instance, but some does not.
オブジェクト内での関数テーブルの位置が不定らしいのと
> Member functions can be referenced by the object’s function table (like “virtual” functions in C++) or they c
Re: (スコア:0)
俺もそんな気がした。
Re: (スコア:0)
そうそう、俺も。
Re: (スコア:0)
こんなこともあろうかと。
Re: (スコア:0)
奇遇だな。私もそうじゃないかなぁなんて思ってたところだ。
Re: (スコア:0)
Re: (スコア:0)