Doc Comments / Phobos /
Difference (last change) (no other diffs, normal page display)
This part is confusing:|
bool opEquals(Object o);|
Returns !=0 if this object does have the same contents as obj.
Why not specify a bool return value instead of !=0 (Returns true if equals).
Add your comments here...
This part is confusing:
bool opEquals(Object o);
Returns !=0 if this object does have the same contents as obj.Why not specify a bool return value instead of !=0 (Returns true if equals).
I don't see any reason why these alias shouldn't be listed as part of the documentation:
- alias string;
- alias wstring;
- alias dstring;
The Object.print method is absent from the documentation. I think it'd be best to match the code with docs by removing it from object.d. (Since it's not even documented, I'll bet no one has ever used this "feature".)
The documention doesn't mention extern(C) int printf(char *, ...), it should probably be removed from object.d. (Since it's not documented, this "feature" might have not been used by anyone.)
?, and want to determine if that TypeInfo? represents a particular class or any of it's subclasses. This tip comes from Jarret Billingsley:
Please add some more information about ClassInfo. Something like:
.classinfo for this interface (not for containing class)
.classinfo.name allows you to get the name of a class as a string. For example: