digitalmars.D.learn - rt/object.d
- Ola Fosheim =?UTF-8?B?R3LDuHN0YWQ=?= (3/3) Oct 29 2020 The class definition for Object in the runtime object.d is
- Adam D. Ruppe (3/6) Oct 29 2020 http://dpldocs.info/experimental-docs/object.Object.html
- Ola Fosheim =?UTF-8?B?R3LDuHN0YWQ=?= (3/9) Oct 29 2020 That is the same as the class decl, I meant the internals like
- Adam D. Ruppe (12/14) Oct 29 2020 I don't know what you mean. typeinfo isn't a part of Object and
- Ola Fosheim =?UTF-8?B?R3LDuHN0YWQ=?= (2/6) Oct 29 2020 Thanks, that might be useful later :-).
- kinke (3/4) Oct 29 2020 https://dlang.org/spec/abi.html#classes
- Ola Fosheim =?UTF-8?B?R3LDuHN0YWQ=?= (2/6) Oct 29 2020 Thanks!
The class definition for Object in the runtime object.d is "empty". Where can I find a description of the structure and fields of "class Object"?
Oct 29 2020
On Thursday, 29 October 2020 at 14:03:46 UTC, Ola Fosheim Grøstad wrote:The class definition for Object in the runtime object.d is "empty". Where can I find a description of the structure and fields of "class Object"?http://dpldocs.info/experimental-docs/object.Object.html
Oct 29 2020
On Thursday, 29 October 2020 at 14:06:08 UTC, Adam D. Ruppe wrote:On Thursday, 29 October 2020 at 14:03:46 UTC, Ola Fosheim Grøstad wrote:That is the same as the class decl, I meant the internals like vtable/typeinfo.The class definition for Object in the runtime object.d is "empty". Where can I find a description of the structure and fields of "class Object"?http://dpldocs.info/experimental-docs/object.Object.html
Oct 29 2020
On Thursday, 29 October 2020 at 16:02:34 UTC, Ola Fosheim Grøstad:That is the same as the class decl, I meant the internals like vtable/typeinfo.I don't know what you mean. typeinfo isn't a part of Object and the vtable is built from those virtual methods. If you mean the *module* object instead of class Object, I have the docs for that too: http://dpldocs.info/experimental-docs/object.html and like there's TypeInfo in there http://dpldocs.info/experimental-docs/object.TypeInfo.html The internal rt namespace is also on my website: http://dpldocs.info/experimental-docs/rt.html but of course that's private so you can't import it from user code.
Oct 29 2020
On Thursday, 29 October 2020 at 16:09:00 UTC, Adam D. Ruppe wrote:The internal rt namespace is also on my website: http://dpldocs.info/experimental-docs/rt.html but of course that's private so you can't import it from user code.Thanks, that might be useful later :-).
Oct 29 2020
On Thursday, 29 October 2020 at 16:02:34 UTC, Ola Fosheim Grøstad wrote:I meant the internals like vtable/typeinfo.https://dlang.org/spec/abi.html#classes
Oct 29 2020
On Thursday, 29 October 2020 at 16:09:10 UTC, kinke wrote:On Thursday, 29 October 2020 at 16:02:34 UTC, Ola Fosheim Grøstad wrote:Thanks!I meant the internals like vtable/typeinfo.https://dlang.org/spec/abi.html#classes
Oct 29 2020