API .documentation

Module Description
std.c.linux.tipc Interface for Linux TIPC sockets, /usr/include/linux/tipc.h
std.c.fenv C's <fenv.h>
std.c.locale C's <locale.h>
std.c.math C's <math.h>
std.c.process C's <process.h>
std.c.stdarg C's <stdarg.h>
std.c.stddef C's <stddef.h>
std.c.stdio C's <stdio.h> for the D programming language
std.c.stdlib C's <stdlib.h> D Programming Language runtime library
std.c.string C's <string.h>
std.c.time C's <time.h>
std.c.wcharh C's <wchar.h>
std.digest.crc
std.digest.digest
std.digest.md
std.digest.ripemd
std.digest.sha
std.internal.digest.sha_SSSE3 Computes SHA1 digests of arbitrary data, using an optimized algorithm with SSSE3 instructions.
std.internal.math.biguintcore Fundamental operations for arbitrary-precision arithmetic
std.internal.math.biguintnoasm Arbitrary precision arithmetic ('bignum') for processors with no asm support
std.internal.math.biguintx86 Optimised asm arbitrary precision arithmetic ('bignum') routines for X86 processors.
std.internal.math.errorfunction Error Functions and Normal Distribution.
std.internal.math.gammafunction Implementation of the gamma and beta functions, and their integrals.
std.internal.processinit The only purpose of this module is to do the static construction for std.process in order to eliminate cyclic construction errors.
std.internal.uni Codepoint set and trie for efficient character class manipulation, currently for internal use only.
std.internal.unicode_tables
std.internal.uni_tab Fast Regular expressions for D, internal tables
std.net.curl
std.net.isemail Validates an email address according to RFCs 5321, 5322 and others.
std.algorithm
std.array Functions and types that manipulate built-in arrays.
std.ascii Functions which operate on ASCII characters.
std.base64 Encoding / Decoding Base64 format.
std.bigint Arbitrary-precision ('bignum') arithmetic
std.bitmanip Bit-level manipulation facilities.
std.compiler Identify the compiler used and its various features.
std.complex This module contains the Complex type, which is used to represent complex numbers, along with related mathematical operations and functions.
std.concurrency This is a low-level messaging API upon which more structured or restrictive APIs may be built. The general idea is that every messageable entity is represented by a common handle type (called a Cid in this implementation), which allows messages to be sent to in-process threads, on-host processes, and foreign-host processes using the same interface. This is an important aspect of scalability because it allows the components of a program to be spread across available resources with few to no changes to the actual implementation.
std.container Defines generic containers.
std.conv A one-stop shop for converting values from one type to another.
std.cstream Warning: This module is considered out-dated and not up to Phobos' current standards. It will remain until we have a suitable replacement, but be aware that it will not remain long term.
std.csv Implements functionality to read Comma Separated Values and its variants from a input range of dchar.
std.datetime Module containing Date/Time functionality.
std.demangle Demangle D mangled names.
std.encoding Classes and functions for handling and transcoding between various encodings.
std.exception This module defines functions related to exceptions and general error handling. It also defines functions intended to aid in unit testing.
std.file Utilities for manipulating files and scanning directories. Functions in this module handle files as a unit, e.g., read or write one file at a time. For opening files and manipulating them via handles refer to module std.stdio.
std.functional Functions that manipulate other functions.
std.getopt Processing of command line options.
std.json JavaScript Object Notation
std.math Elementary mathematical functions
std.mathspecial Mathematical Special Functions
std.metastrings Deprecated. It will be removed in March 2014. Please use std.string.format, std.conv.to, or std.conv.parse instead of these templates (which one would depend on which template is being replaced.) They now work in CTFE, and these templates are very inefficient.
std.mmfile Read and write memory mapped files.
std.numeric This module is a port of a growing fragment of the numeric header in Alexander Stepanov's Standard Template Library, with a few additions.
std.outbuffer
std.parallelism std.parallelism implements high-level primitives for SMP parallelism. These include parallel foreach, parallel reduce, parallel eager map, pipelining and future/promise parallelism. std.parallelism is recommended when the same operation is to be executed in parallel on different data, or when a function is to be executed in a background thread and its result returned to a well-defined main thread. For communication between arbitrary threads, see std.concurrency.
std.path This module is used to manipulate path strings.
std.process Functions for starting and interacting with other processes, and for working with the current process' execution environment.
std.random Facilities for random number generation.
std.range This module defines the notion of a range. Ranges generalize the concept of arrays, lists, or anything that involves sequential access. This abstraction enables the same set of algorithms (see std.algorithm) to be used with a vast variety of different concrete types. For example, a linear search algorithm such as std.algorithm.find works not just for arrays, but for linked-lists, input files, incoming network data, etc.
std.regex

Intro

Regular expressions are a commonly used method of pattern matching on strings, with regex being a catchy word for a pattern in this domain specific language. Typical problems usually solved by regular expressions include validation of user input and the ubiquitous find & replace in text processing utilities.
std.signals Signals and Slots are an implementation of the Observer Pattern. Essentially, when a Signal is emitted, a list of connected Observers (called slots) are called.
std.socket
std.socketstream Warning: This module is considered out-dated and not up to Phobos' current standards. It will remain until we have a suitable replacement, but be aware that it will not remain long term.
std.stdint D constrains integral types to specific sizes. But efficiency of different sizes varies from machine to machine, pointer sizes vary, and the maximum integer size varies. stdint offers a portable way of trading off size vs efficiency, in a manner compatible with the stdint.h definitions in C.
std.stdio Standard I/O functions that extend std.c.stdio. std.c.stdio is publically imported when importing std.stdio.
std.stdiobase The only purpose of this module is to do the static construction for std.stdio, to eliminate cyclic construction errors.
std.stream Warning: This module is considered out-dated and not up to Phobos' current standards. It will remain until we have a suitable replacement, but be aware that it will not remain long term.
std.string String handling functions. Objects of types string, wstring, and dstring are value types and cannot be mutated element-by-element. For using mutation during building strings, use char[], wchar[], or dchar[]. The *string types are preferable because they don't exhibit undesired aliasing, thus making code more robust.
std.syserror Convert Win32 error code to string
std.system Information about the target operating system, environment, and CPU.
std.traits Templates with which to extract information about types and symbols at compile time.
std.typecons This module implements a variety of type constructors, i.e., templates that allow construction of new, useful general-purpose types.
std.typelist This module defines a list of types TypeList and operations on TypeLists. Together they define a compile-time functional programming framework, complete with lambdas, higher-order functions, and arbitrary data structures
std.typetuple Templates with which to manipulate type tuples (also known as type lists).
std.uni

Overview

std.uri Encode and decode Uniform Resource Identifiers (URIs). URIs are used in internet transfer protocols. Valid URI characters consist of letters, digits, and the characters ;/?:@&=+,-_.!~*'() Reserved URI characters are ;/?:@&=+ Escape sequences consist of % followed by two hex digits.
std.utf Encode and decode UTF-8, UTF-16 and UTF-32 strings.
std.uuid
std.variant This module implements a discriminated union type (a.k.a. tagged union, algebraic type). Such types are useful for type-uniform binary interfaces, interfacing with scripting languages, and comfortable exploratory programming.
std.xml Warning: This module is considered out-dated and not up to Phobos' current standards. It will remain until we have a suitable replacement, but be aware that it will not remain long term.
std.zip Read/write data in the zip archive format. Makes use of the etc.c.zlib compression library.
std.zlib Compress/decompress data using the zlib library.
core.internal.convert Written in the D programming language. This module provides functions to converting different values to const(ubyte)[]
core.internal.hash Written in the D programming language. This module provides functions to uniform calculating hash values for different types
core.stdc.complex D header file for C99.
core.stdc.config D header file for C99.
core.stdc.ctype D header file for C99.
core.stdc.errno D header file for C99.
core.stdc.fenv D header file for C99.
core.stdc.float_ D header file for C99.
core.stdc.inttypes D header file for C99.
core.stdc.limits D header file for C99.
core.stdc.locale D header file for C99.
core.stdc.math D header file for C99.
core.stdc.signal D header file for C99.
core.stdc.stdarg D header file for C99.
core.stdc.stddef D header file for C99.
core.stdc.stdint D header file for C99.
core.stdc.stdio D header file for C99.
core.stdc.stdlib D header file for C99.
core.stdc.string D header file for C99.
core.stdc.tgmath D header file for C99.
core.stdc.time D header file for C99.
core.stdc.wchar_ D header file for C99.
core.stdc.wctype D header file for C99.
core.sync.barrier The barrier module provides a primitive for synchronizing the progress of a group of threads.
core.sync.condition The condition module provides a primitive for synchronized condition checking.
core.sync.config The config module contains utility routines and configuration information specific to this package.
core.sync.exception Define base class for synchronization exceptions.
core.sync.mutex The mutex module provides a primitive for maintaining mutually exclusive access.
core.sync.rwmutex The read/write mutex module provides a primitive for maintaining shared read access and mutually exclusive write access.
core.sync.semaphore The semaphore module provides a general use semaphore for synchronization.
core.sys.freebsd.sys.elf D header file for FreeBSD.
core.sys.freebsd.sys.elf32 D header file for FreeBSD.
core.sys.freebsd.sys.elf64 D header file for FreeBSD.
core.sys.freebsd.sys.elf_common D header file for FreeBSD.
core.sys.freebsd.sys.event D header file for FreeBSD.
core.sys.freebsd.sys.link_elf D header file for FreeBSD.
core.sys.freebsd.dlfcn D header file for FreeBSD.
core.sys.freebsd.execinfo FreeBSD implementation of glibc's facility.
core.sys.linux.sys.inotify D header file for GNU/Linux.
core.sys.linux.sys.mman D header file for GNU/Linux
core.sys.linux.sys.signalfd D header file for Linux.
core.sys.linux.sys.xattr D header file for GNU/Linux.
core.sys.linux.config D header file for GNU/Linux
core.sys.linux.dlfcn D header file for GNU/Linux
core.sys.linux.elf D header file for GNU/Linux
core.sys.linux.epoll D header file to interface with the Linux epoll API (http://man7.org/linux/man-pages/man7/epoll.7.html). Available since Linux 2.6
core.sys.linux.errno D header file for GNU/Linux
core.sys.linux.execinfo D header file for GNU/Linux.
core.sys.linux.link D header file for GNU/Linux
core.sys.linux.termios D header file for GNU/Linux
core.sys.osx.mach.dyld
core.sys.osx.mach.getsect
core.sys.osx.mach.kern_return D header file for OSX.
core.sys.osx.mach.loader
core.sys.osx.mach.port D header file for OSX.
core.sys.osx.mach.semaphore D header file for OSX.
core.sys.osx.mach.thread_act D header file for OSX.
core.sys.osx.execinfo D header file for OSX.
core.sys.osx.pthread D header file for OSX.
core.sys.posix.arpa.inet D header file for POSIX.
core.sys.posix.net.if_ D header file for POSIX.
core.sys.posix.netinet.in_ D header file for POSIX.
core.sys.posix.netinet.tcp D header file for POSIX.
core.sys.posix.sys.ioctl D header file for POSIX.
core.sys.posix.sys.ipc D header file for POSIX.
core.sys.posix.sys.mman D header file for POSIX.
core.sys.posix.sys.resource D header file for POSIX.
core.sys.posix.sys.select D header file for POSIX.
core.sys.posix.sys.shm D header file for POSIX.
core.sys.posix.sys.socket D header file for POSIX.
core.sys.posix.sys.stat D header file for POSIX.
core.sys.posix.sys.statvfs D header file for POSIX.
core.sys.posix.sys.time D header file for POSIX.
core.sys.posix.sys.types D header file for POSIX.
core.sys.posix.sys.uio D header file for POSIX.
core.sys.posix.sys.un D header file for POSIX.
core.sys.posix.sys.wait D header file for POSIX.
core.sys.posix.config D header file for POSIX.
core.sys.posix.dirent D header file for POSIX.
core.sys.posix.dlfcn D header file for POSIX.
core.sys.posix.fcntl D header file for POSIX.
core.sys.posix.grp D header file for POSIX.
core.sys.posix.inttypes D header file for POSIX.
core.sys.posix.netdb D header file for POSIX.
core.sys.posix.poll D header file for POSIX.
core.sys.posix.pthread D header file for POSIX.
core.sys.posix.pwd D header file for POSIX.
core.sys.posix.sched D header file for POSIX.
core.sys.posix.semaphore D header file for POSIX.
core.sys.posix.setjmp D header file for POSIX.
core.sys.posix.signal D header file for POSIX.
core.sys.posix.stdio D header file for POSIX.
core.sys.posix.stdlib D header file for POSIX.
core.sys.posix.syslog D header file for POSIX system logger API. (http://pubs.opengroup.org/onlinepubs/007904875/basedefs/syslog.h.html)
core.sys.posix.termios D header file for POSIX.
core.sys.posix.time D header file for POSIX.
core.sys.posix.ucontext D header file for POSIX.
core.sys.posix.unistd D header file for POSIX.
core.sys.posix.utime D header file for POSIX.
core.sys.windows.dbghelp ...
core.sys.windows.dll This module provides OS specific helper function for DLL support
core.sys.windows.stacktrace ...
core.sys.windows.threadaux This module provides OS specific helper function for threads support
core.sys.windows.windows Windows is a registered trademark of Microsoft Corporation in the United States and other countries.
core.atomic The atomic module provides basic support for lock-free concurrent programming.
core.bitop This module contains a collection of bit-level operations.
core.cpuid Identify the characteristics of the host CPU, providing information about cache sizes and assembly optimisation hints. This module is provided primarily for assembly language programmers.
core.demangle The demangle module converts mangled D symbols to a representation similar to what would have existed in code.
core.exception The exception module defines all system-level exceptions and provides a mechanism to alter system-level error handling.
core.math Builtin mathematical intrinsics
core.memory This module provides an interface to the garbage collector used by applications written in the D programming language. It allows the garbage collector in the runtime to be swapped without affecting binary compatibility of applications.
core.runtime The runtime module exposes information specific to the D runtime code.
core.simd Builtin SIMD intrinsics
core.thread The thread module provides support for thread creation and management.
core.time Module containing core time functionality, such as Duration (which represents a duration of time).
core.vararg The vararg module is intended to facilitate vararg manipulation in D. It should be interface compatible with the C module "stdarg," and the two modules may share a common implementation if possible (as is done here).
etc.c.curl This is an interface to the libcurl library.
etc.linux.memoryerror Handle page protection errors using D errors (exceptions). NullPointerError is thrown when dereferencing null pointers. A system-dependent error is thrown in other cases.
gc.bits Contains a bitfield used by the GC.
gc.gc Contains the garbage collector implementation.
gc.os Contains OS-level routines needed by the garbage collector.
gc.proxy Contains the external GC interface.
gc.stats Contains a struct for storing GC statistics.
rt.typeinfo.ti_AC TypeInfo support code.
rt.typeinfo.ti_Acdouble TypeInfo support code.
rt.typeinfo.ti_Acfloat TypeInfo support code.
rt.typeinfo.ti_Acreal TypeInfo support code.
rt.typeinfo.ti_Adouble TypeInfo support code.
rt.typeinfo.ti_Afloat TypeInfo support code.
rt.typeinfo.ti_Ag TypeInfo support code.
rt.typeinfo.ti_Aint TypeInfo support code.
rt.typeinfo.ti_Along TypeInfo support code.
rt.typeinfo.ti_Areal TypeInfo support code.
rt.typeinfo.ti_Ashort TypeInfo support code.
rt.typeinfo.ti_byte TypeInfo support code.
rt.typeinfo.ti_C TypeInfo support code.
rt.typeinfo.ti_cdouble TypeInfo support code.
rt.typeinfo.ti_cfloat TypeInfo support code.
rt.typeinfo.ti_char TypeInfo support code.
rt.typeinfo.ti_creal TypeInfo support code.
rt.typeinfo.ti_dchar TypeInfo support code.
rt.typeinfo.ti_delegate TypeInfo support code.
rt.typeinfo.ti_double TypeInfo support code.
rt.typeinfo.ti_float TypeInfo support code.
rt.typeinfo.ti_idouble TypeInfo support code.
rt.typeinfo.ti_ifloat TypeInfo support code.
rt.typeinfo.ti_int TypeInfo support code.
rt.typeinfo.ti_ireal TypeInfo support code.
rt.typeinfo.ti_long TypeInfo support code.
rt.typeinfo.ti_ptr TypeInfo support code.
rt.typeinfo.ti_real TypeInfo support code.
rt.typeinfo.ti_short TypeInfo support code.
rt.typeinfo.ti_ubyte TypeInfo support code.
rt.typeinfo.ti_uint TypeInfo support code.
rt.typeinfo.ti_ulong TypeInfo support code.
rt.typeinfo.ti_ushort TypeInfo support code.
rt.typeinfo.ti_void TypeInfo support code.
rt.typeinfo.ti_wchar TypeInfo support code.
rt.util.array Array utilities.
rt.util.container Basic containers for internal usage.
rt.util.hash This module contains the default hash implementation.
rt.util.string String manipulation and comparison utilities.
rt.util.utf Encode and decode UTF-8, UTF-16 and UTF-32 strings.
rt.aaA Implementation of associative arrays.
rt.aApply This code handles decoding UTF strings for foreach loops. There are 6 combinations of conversions between char, wchar, and dchar, and 2 of each of those.
rt.aApplyR This code handles decoding UTF strings for foreach_reverse loops. There are 6 combinations of conversions between char, wchar, and dchar, and 2 of each of those.
rt.adi Implementation of dynamic array property support routines.
rt.alloca Implementation of alloca() standard C routine.
rt.arrayassign Implementation of array assignment support routines.
rt.arraybyte Contains SSE2 and MMX versions of certain operations for char, byte, and ubyte ('a', 'g' and 'h' suffixes).
rt.arraycast Implementation of array cast support routines.
rt.arraycat Implementation of array copy support routines.
rt.arraydouble Contains SSE2 and MMX versions of certain operations for double.
rt.arrayfloat Contains SSE2 and MMX versions of certain operations for float.
rt.arrayint Contains SSE/MMX versions of certain operations for dchar, int, and uint ('w', 'i' and 'k' suffixes).
rt.arrayreal Contains SSE2 and MMX versions of certain operations for real.
rt.arrayshort Contains SSE2 and MMX versions of certain operations for wchar, short, and ushort ('u', 's' and 't' suffixes).
rt.cast_ Implementation of array assignment support routines.
rt.cmath2 Runtime support for complex arithmetic code generation (for Posix).
rt.cover Implementation of code coverage analyzer.
rt.critical_ Implementation of support routines for synchronized blocks.
rt.deh Implementation of exception handling support routines.
rt.deh_win32 Implementation of exception handling support routines for Win32.
rt.deh_win64_posix Written in the D programming language. Implementation of exception handling support routines for Posix and Win64.
rt.dmain2 Contains druntime startup and shutdown routines.
rt.lifetime This module contains all functions related to an object's lifetime: allocation, resizing, deallocation, and finalization.
rt.llmath Support for 64-bit longs.
rt.memory This module tells the garbage collector about the static data and bss segments, so the GC can scan them for roots. It does not deal with thread local static data.
rt.memset Contains a memset implementation used by compiler-generated code.
rt.minfo Written in the D programming language. Module initialization routines.
rt.monitor_ Contains the implementation for object monitors.
rt.obj Containts object comparator functions called by generated code.
rt.qsort This is a public domain version of qsort.d. All it does is call C's qsort().
rt.sections
rt.sections_freebsd Written in the D programming language. This module provides FreeBSD-specific support for sections.
rt.sections_linux Written in the D programming language. This module provides linux-specific support for sections.
rt.sections_osx Written in the D programming language. This module provides OSX-specific support for sections.
rt.sections_solaris Written in the D programming language. This module provides Solaris-specific support for sections.
rt.sections_win32 Written in the D programming language. This module provides Win32-specific support for sections.
rt.sections_win64 Written in the D programming language. This module provides Win32-specific support for sections.
rt.switch_ Contains support code for switch blocks using string constants.
rt.tlsgc
rt.trace Contains support code for code profiling.
object Forms the symbols available to all D programs. Includes Object, which is the root of the class object hierarchy. This module is implicitly imported.

Comments

comments powered by Disqus