D
Language
Phobos
Comparisons
object
std
std.base64
std.boxer
std.compiler
std.conv
std.ctype
std.date
std.file
std.format
std.gc
std.intrinsic
std.math
std.md5
std.mmfile
std.openrj
std.outbuffer
std.path
std.process
std.random
std.recls
std.regexp
std.socket
std.socketstream
std.stdint
std.stdio
std.cstream
std.stream
std.string
std.system
std.thread
std.uri
std.utf
std.zip
std.zlib
std.windows
std.linux
std.c
std.c.stdio
std.c.windows
std.c.linux
|
object
This module is implicitly imported.
- alias size_t
- An unsigned integral type large enough to span the memory
space. Use for array indices and pointer offsets for maximal portability
to architectures that have different memory address ranges.
This is analogous to C's size_t.
- alias ptrdiff_t
- A signed integral type large enough to span the memory
space. Use for pointer differences and for size_t
differences for maximal portability
to architectures that have different memory address ranges.
This is analogous to C's ptrdiff_t.
- int printf(char* format, ...);
- C's printf function.
- class Object
- All class objects in D inherit from Object.
- char[] toString()
- Convert Object to a human readable string.
- uint toHash()
- Compute hash function for Object.
- int opCmp(Object obj)
- Compare with another Object obj. Returns:
- <0 for (this < obj)
- =0 for (this == obj)
- >0 for (this > obj)
- int opEquals(Object obj)
- Returns !=0 if this object does have the same
contents as obj.
- class ClassInfo
- Runtime type information about a class.
Can be retrieved for any class type or instance by using
the .classinfo property.
- class TypeInfo
- Runtime type information about a type.
Can be retrieved for any type using a
TypeidExpression.
- class Exception
- All recoverable exceptions should be derived from class
Exception.
- this(char[] msg)
- Constructor; msg is a descriptive message
for the exception.
- class Error
- All irrecoverable exceptions should be derived from class
Error.
- this(char[] msg)
- Constructor; msg is a descriptive message
for the error.
|