Core
core.thread
Classes
Thread
Attributes PRIORITY_MIN int __gshared const PRIORITY_MAX int __gshared const Functions this ( void delegate() dg, size_t sz = 0 ) this ( void function() fn, size_t sz = 0 ) getAll static Thread[] () getThis static Thread () isDaemon final bool () isDaemon final void ( bool val ) isRunning final bool () join final Throwable ( bool rethrow = true ) name final string () name final void ( string val ) opApply static int ( scope int delegate( ref Thread ) dg ) priority final int () priority final void ( int val ) sleep static void ( Duration val ) sleep static void ( long period ) start final void () yield static void ()
ThreadGroup
Functions add final void ( Thread t ) create final Thread ( void delegate() dg ) create final Thread ( void function() fn ) joinAll final void ( bool rethrow = true ) opApply final int ( scope int delegate( ref Thread ) dg ) remove final void ( Thread t )
Fiber
Attributes State enum Functions this ( void delegate() dg, size_t sz = PAGESIZE ) this ( void function() fn, size_t sz = PAGESIZE ) this shared static () call final Object ( bool rethrow = true ) getThis static Fiber () reset final void () state final @property State () const yield static void () yieldAndThrow static void ( Throwable t )
ThreadException : Exception FiberException : Exception
Functions
this shared static () thread_attachThis Thread () thread_detachByAddr void ( Thread.ThreadAddr addr ) thread_detachThis void () thread_findByAddr static Thread ( Thread.ThreadAddr addr ) thread_init void () thread_isMainThread bool () thread_joinAll void () thread_needLock bool () nothrow thread_resumeAll void () thread_scanAll void ( scanAllThreadsFn scan, void* curStackTop = null ) thread_suspendAll void ()
Phobos
std.algorithm
Structs
BoyerMooreFinder
Attributes needle Range occ sizediff_t[ElementType!(Range)] skip[] size_t Functions this (Range needle) beFound Range (Range haystack) length size_t ()
Filter
Attributes R alias Unqual!Range _input R Functions this (R r) empty bool () front ElementType!(Range) () opSlice Filter () popFront void () save typeof(this) ()
Group
Functions this (R input) empty bool () front Tuple!(ElementType!R, uint) () popFront void () save typeof(this) ()
Levenshtein
Functions deletionIncrement void (CostType n) distance CostType (Range s, Range t) insertionIncrement void (CostType n) path EditOp[] () path EditOp[] (Range s, Range t)
Map
Attributes _cache Unqual!ElementType _fun alias fun _input R ElementType alias typeof({ return _fun(.ElementType!(R).init) }()) R alias Unqual!Range Functions this (R input) back ElementType () empty bool () front ElementType () length size_t () opIndex ElementType (size_t index) opSlice typeof(this) (size_t lowerBound, size_t upperBound) popBack void () popFront void () save Map ()
NWayUnion
Attributes _heap BinaryHeap!(RangeOfRanges, compFront) Functions this (RangeOfRanges ror) compFront bool (.ElementType!RangeOfRanges a, .ElementType!RangeOfRanges b) empty bool () front ElementType () popFront void ()
SetUnion
Attributes ElementType alias CommonType!(staticMap!(.ElementType, Rs)) Functions this (Rs rs) empty bool () front ElementType () length size_t () popFront void () save typeof(this) ()
SetIntersection
Functions this (Rs input) empty bool () front ElementType () popFront void () save typeof(this) ()
SetDifference
Functions this (R1 r1, R2 r2) empty bool () front ElementType!(R1) () popFront void () save typeof(this) ()
SetSymmetricDifference
Functions this (R1 r1, R2 r2) empty bool () front ElementType!(R1) () opSlice auto () popFront void () save typeof(this) ()
Splitter
Functions this (Range input, Separator separator) back Range () empty bool () front Range () popBack void () popFront void () save typeof(this) ()
Splitter
Functions this (Range input, Separator separator) back Range () empty bool () front Range () popBack void () popFront void () save typeof(this) ()
Splitter
Functions this (Range input) empty bool () front Range () popFront void () save typeof(this) ()
Uniq
Attributes _input R Functions this (R input) back ElementType!(R) () empty bool () front ElementType!(R) () opSlice Uniq () popBack void () popFront void () save typeof(this) ()
Until
Attributes _openRight OpenRight _done bool Functions this (Range input, OpenRight openRight = OpenRight.yes) this (Range input, Sentinel sentinel, OpenRight openRight = OpenRight.yes) empty bool () front ElementType!Range () popFront void () predSatisfied bool ()
Attributes
EditOp enum OpenRight enum SortOutput enum SwapStrategy enum
Functions
balancedParens bool (Range, E)(Range r, E lPar, E rPar, size_t maxNestingLevel = size_t.max) boyerMooreFinder BoyerMooreFinder!(binaryFun!(pred), Range) (alias pred = "a == b", Range)(Range needle) bringToFront size_t (Range1, Range2)(Range1 front, Range2 back) canFind bool (alias pred = "a == b", Range, V)(Range range, V value) canFind bool (alias pred, Range)(Range range) canFindSorted bool (alias pred = "a < b", Range, V)(Range range, V value) completeSort void (alias less = "a < b", SwapStrategy ss = SwapStrategy.unstable, Range1, Range2)(SortedRange!(Range1, less) lhs, Range2 rhs) copy Range2 (Range1, Range2)(Range1 source, Range2 target) count size_t (alias pred = "a == b", Range, E)(Range r, E value) count size_t (alias pred = "true", Range)(Range r) endsWith uint (alias pred = "a == b", Range, Elements...)(Range doesThisEnd, Elements withOneOfThese) endsWith uint (alias pred = "a == b", Range, Ranges...)(Range doesThisEnd, Ranges withOneOfThese) equal bool (alias pred = "a == b", Range1, Range2)(Range1 r1, Range2 r2) equalRange Range (alias pred = "a < b", Range, V)(Range range, V value) fill void (Range, Value)(Range range, Value filler) fill void (Range1, Range2)(Range1 range, Range2 filler) find R (alias pred = "a == b", R, E)(R haystack, E needle) find R1 (alias pred = "a == b", R1, R2)(R1 haystack, R2 needle) find R1 (alias pred = "a == b", R1, R2)(R1 haystack, R2 needle) find R1 (alias pred = "a == b", R1, R2)(R1 haystack, R2 needle) find Range (alias pred, Range)(Range haystack) find Range1 (Range1, alias pred, Range2)(Range1 haystack, BoyerMooreFinder!(pred, Range2) needle) find Tuple!(Range, size_t) (alias pred = "a == b", Range, Ranges...)(Range haystack, Ranges needles) findAdjacent Range (alias pred = "a == b", Range)(Range r) findAmong Range1 (alias pred = "a == b", Range1, Range2)(Range1 seq, Range2 choices) getPivot size_t (alias less, Range)(Range r) group Group!(pred, Range) (alias pred = "a == b", Range)(Range r) indexOf sizediff_t (alias pred = "a == b", R1, R2)(R1 haystack, R2 needle) initializeAll void (Range)(Range range) isPartitioned bool (alias pred, Range)(Range r) isSorted bool (alias less = "a < b", Range)(Range r) joiner auto (Range, Separator)(Range r, Separator sep) largestPartialIntersection void (alias less = "a < b", RangeOfRanges, Range)(RangeOfRanges ror, Range tgt, SortOutput sorted = SortOutput.no) largestPartialIntersectionWeighted void (alias less = "a < b", RangeOfRanges, Range, WeightsAA)(RangeOfRanges ror, Range tgt, WeightsAA weights, SortOutput sorted = SortOutput.no) levenshteinDistance size_t (alias equals = "a == b", Range1, Range2)(Range1 s, Range2 t) levenshteinDistanceAndPath Tuple!(size_t, EditOp[]) (alias equals = "a == b", Range1, Range2)(Range1 s, Range2 t) lowerBound Range (alias pred = "a < b", Range, V)(Range range, V value) makeIndex void (alias less = "a < b", SwapStrategy ss = SwapStrategy.unstable, Range, RangeIndex)(Range r, RangeIndex index) makeIndex void (alias less = "a < b", SwapStrategy ss = SwapStrategy.unstable, Range, RangeIndex)(Range r, RangeIndex index) max MaxType!(T1, T2, T) (T1, T2, T...)(T1 a, T2 b, T xs) min MinType!(T1, T2, T) (T1, T2, T...)(T1 a, T2 b, T xs) minCount Tuple!(ElementType!(Range), size_t) (alias pred = "a < b", Range)(Range range) minPos Range (alias pred = "a < b", Range)(Range range) mismatch Tuple!(Range1, Range2) (alias pred = "a == b", Range1, Range2)(Range1 r1, Range2 r2) move T (T)(ref T src) move void (T)(ref T source, ref T target) moveAll Range2 (Range1, Range2)(Range1 src, Range2 tgt) moveSome Tuple!(Range1, Range2) (Range1, Range2)(Range1 src, Range2 tgt) nWayUnion NWayUnion!(less, RangeOfRanges) (alias less = "a < b", RangeOfRanges)(RangeOfRanges ror) optimisticInsertionSort void (alias less, Range)(Range r) partialIndex void (alias less, SwapStrategy ss = SwapStrategy.unstable, SRange, TRange)(SRange source, TRange target) partialSort void (alias less = "a < b", SwapStrategy ss = SwapStrategy.unstable, Range)(Range r, size_t n) partition Range (alias predicate, SwapStrategy ss = SwapStrategy.unstable, Range)(Range r) remove Range (alias pred, SwapStrategy s = SwapStrategy.stable, Range)(Range range) remove Range (SwapStrategy s = SwapStrategy.stable, Range, Offset...)(Range range, Offset offset) remove Range (SwapStrategy s = SwapStrategy.stable, Range, Offset...)(Range range, Offset offset) reverse void (Range)(Range r) schwartzSort void (alias transform, alias less = "a < b", SwapStrategy ss = SwapStrategy.unstable, Range)(Range r) setDifference SetDifference!(less, R1, R2) (alias less = "a < b", R1, R2)(R1 r1, R2 r2) setIntersection SetIntersection!(less, Rs) (alias less = "a < b", Rs...)(Rs ranges) setSymmetricDifference SetSymmetricDifference!(less, R1, R2) (alias less = "a < b", R1, R2)(R1 r1, R2 r2) setUnion SetUnion!(less, Rs) (alias less = "a < b", Rs...)(Rs rs) skipOver bool (alias pred = "a == b", R, E)(ref R r, E e) skipOver bool (alias pred = "a == b", R1, R2)(ref R1 r1, R2 r2) sort SortedRange!(Range, less) (alias less = "a < b", SwapStrategy ss = SwapStrategy.unstable, Range)(Range r) sortImpl void (alias less, SwapStrategy ss, Range)(Range r) splitter Splitter!(isTerminator, Range) (alias isTerminator, Range)(Range input) splitter Splitter!(Range, Separator) (Range, Separator)(Range r, Separator s) startsWith bool (alias pred = "a == b", R, E)(R doesThisStart, E withThis) startsWith bool (alias pred = "a == b", R1, R2)(R1 doesThisStart, R2 withThis) startsWith uint (alias pred = "a == b", Range, Ranges...)(Range doesThisStart, Ranges withOneOfThese) swap void (T)(ref T lhs, ref T rhs) @trusted pure nothrow swap void (T)(T lhs, T rhs) swapAt void (R)(R r, size_t i1, size_t i2) swapFront void (R1, R2)(R1 r1, R2 r2) swapRanges Tuple!(Range1, Range2) (Range1, Range2)(Range1 r1, Range2 r2) topN void (alias less = "a < b", SwapStrategy ss = SwapStrategy.unstable, Range)(Range r, size_t nth) topN void (alias less = "a < b", SwapStrategy ss = SwapStrategy.unstable, Range1, Range2)(Range1 r1, Range2 r2) topNCopy TRange (alias less = "a < b", SRange, TRange)(SRange source, TRange target, SortOutput sorted = SortOutput.no) topNIndex void (alias less = "a < b", SwapStrategy ss = SwapStrategy.unstable, Range, RangeIndex)(Range r, RangeIndex index, SortOutput sorted = SortOutput.no) topNIndex void (alias less = "a < b", SwapStrategy ss = SwapStrategy.unstable, Range, RangeIndex)(Range r, RangeIndex index, SortOutput sorted = SortOutput.no) topNIndex void (alias less, SwapStrategy ss = SwapStrategy.unstable, SRange, TRange)(SRange source, TRange target) topNIndex void (string less, SwapStrategy ss = SwapStrategy.unstable, SRange, TRange)(SRange source, TRange target) topNIndexImpl void (alias less, bool sortAfter, SwapStrategy ss, SRange, TRange)(SRange source, TRange target) uninitializedFill void (Range, Value)(Range range, Value filler) uniq Uniq!(pred, Range) (alias pred = "a == b", Range)(Range r) until Until!(pred, Range, Sentinel) (alias pred = "a == b", Range, Sentinel)(Range range, Sentinel sentinel, OpenRight openRight = OpenRight.yes) until Until!(pred, Range, void) (alias pred, Range)(Range range, OpenRight openRight = OpenRight.yes) upperBound Range (alias pred = "a < b", Range, V)(Range range, V value)
std.concurrency
Structs
Tid
Functions send void (T...)( T vals )
Classes
MessageMismatch : Exception OwnerTerminated : Exception LinkTerminated : Exception PriorityMessageException : Exception MailboxFull : Exception
Attributes
OnCrowding enum
Functions
this static () prioritySend void (T...)( Tid tid, T vals ) receive void (T...)( T ops ) receiveOnly receiveOnlyRet!(T) (T...)() receiveTimeout bool (T...)( long ms, T ops ) send void (T...)( Tid tid, T vals ) setMaxMailboxSize void ( Tid tid, size_t messages, bool function(Tid) onCrowdingDoThis ) setMaxMailboxSize void ( Tid tid, size_t messages, OnCrowding doThis ) spawn Tid (T...)( void function(T) fn, T args ) spawnLinked Tid (T...)( void function(T) fn, T args ) thisTid Tid ()
std.container
Structs
TotalContainer(T)
Structs Range Functions back T () empty bool () front T () length size_t () moveAt T (size_t i) moveBack T () moveFront T () opIndex T (size_t i) opIndexAssign void (T value, size_t i) opIndexOpAssign void (string op)(T value, uint i) popBack void () popFront void () Attributes KeyType alias T KeyTypes alias TypeTuple!(T) ValueType alias T Functions back T () capacity size_t () clear void () dup TotalContainer () empty bool () equalRange Range (KeyType k) front T () insert size_t (Stuff)(Stuff stuff) insertAfter size_t (Stuff)(Range r, Stuff stuff) insertBack size_t (Stuff)(Stuff stuff) insertBefore size_t (Stuff)(Range r, Stuff stuff) insertFront size_t (Stuff)(Stuff stuff) length size_t () length void (size_t newLength) linearInsert size_t (Stuff)(Stuff stuff) linearRemove Range (Range r) lowerBound Range (KeyType k) moveAt T (size_t i) moveBack T () moveFront T () opBinary bool (string op)(KeyType k) opBinary TotalContainer (string op)(Stuff rhs) opBinaryRight TotalContainer (string op)(Stuff lhs) opIndex ValueType (KeyType) opIndexAssign void (KeyType) opIndexOpAssign void (string op)(KeyType) opOpAssign void (string op)(Stuff stuff) opSlice Range () opSlice Range (size_t a, size_t b) remove Range (Range r) removeAny T () removeBack size_t (size_t howMany) removeBack void () removeFront size_t (size_t howMany) removeFront void () removeKey size_t (KeyType k) replace size_t (Stuff)(Range r, Stuff stuff) reserve void (size_t e) stableInsert size_t (Stuff)(Stuff stuff) stableInsertAfter size_t (Stuff)(Range r, Stuff stuff) stableInsertBack size_t (T value) stableInsertBefore size_t (Stuff)(Range r, Stuff stuff) stableInsertFront size_t (Stuff)(Stuff stuff) stableLinearInsert size_t (Stuff)(Stuff stuff) stableLinearRemove Range (Range r) stableRemove Range (Range r) stableRemoveAny T () stableRemoveBack size_t (size_t howMany) stableRemoveBack void () stableRemoveFront size_t (size_t howMany) stableRemoveFront void () stableReplace size_t (Stuff)(Range r, Stuff stuff) upperBound Range (KeyType k)
SList(T)
Structs Range Functions empty bool () const front T () front void (T value) moveFront T () popFront void () sameHead bool (Range rhs) save Range () Attributes insert alias insertFront stableInsert alias insert stableInsertAfter alias insertAfter stableInsertFront alias insertFront stableLinearRemove alias linearRemove stableRemoveAny alias removeAny stableRemoveFront alias removeFront stableRemoveFront alias removeFront Functions this (U)(U[] values...) this (Stuff)(Stuff stuff) clear void () dup SList () empty bool () const front T () front void (T value) insertAfter size_t (Stuff)(Range r, Stuff stuff) insertAfter size_t (Stuff)(Take!Range r, Stuff stuff) insertFront size_t (Stuff)(Stuff stuff) insertFront size_t (Stuff)(Stuff stuff) linearRemove Range (Range r) linearRemove Range (Take!Range r) opBinary SList (string op, Stuff)(Stuff rhs) opEquals bool (ref const SList rhs) const opSlice Range () removeAny T () removeFront size_t (size_t howMany) removeFront void ()
BinaryHeap( see note )
Functions this (Store s, size_t initialSize = size_t.max) acquire void (Store s, size_t initialSize = size_t.max) assume void (Store s, size_t initialSize = size_t.max) capacity size_t () clear void () conditionalInsert bool (ElementType!Store value) dup BinaryHeap () empty bool () front ElementType!Store () insert size_t (ElementType!Store value) length size_t () release auto () removeAny ElementType!Store () removeFront void () replaceFront void (ElementType!Store value)
Array(T)
Structs Range Functions this (Array data, size_t a, size_t b) empty bool () const front T () front void (T value) moveAt T (size_t i) moveBack T () moveFront T () opIndex T (size_t i) opIndexAssign void (T value, size_t i) opIndexOpAssign void (string op)(T value, size_t i) popFront void () save Range () Attributes insert alias insertBack stableLinearRemove alias remove stableRemoveAny alias removeAny stableRemoveBack alias removeBack stableRemoveBack alias removeBack Functions this (Array data, size_t a, size_t b) this (U)(U[] values...) back T () back void (T value) capacity size_t () clear void () dup Array () empty bool () const front T () front void (T value) insertAfter size_t (Stuff)(Range r, Stuff stuff) insertBack size_t (Stuff)(Stuff stuff) insertBefore size_t (Stuff)(Range r, Stuff stuff) insertBefore size_t (Stuff)(Range r, Stuff stuff) length size_t () const length void (size_t newLength) linearRemove Range (Range r) opBinary Array (string op, Stuff)(Stuff stuff) opDollar size_t () const opEquals bool (ref const Array rhs) const opIndex T (size_t i) opIndexAssign void (T value, size_t i) opIndexOpAssign void (string op)(T value, size_t i) opOpAssign void (string op, Stuff)(Stuff stuff) opSlice Range () opSlice Range (size_t a, size_t b) removeAny T () removeBack size_t (size_t howMany) removeBack void () replace size_t (Stuff)(Range r, Stuff stuff) replace size_t (Stuff)(Range r, Stuff stuff) reserve void (size_t elements)
RBNode(V)
Attributes color Color Color enum : byte Node alias RBNode* value V Functions dup Node () dup Node (scope Node delegate(V v) alloc) isLeftNode bool () const left Node () left Node (Node newNode) leftmost Node () next Node () parent Node () prev Node () remove Node (Node end) right Node () right Node (Node newNode) rightmost Node () rotateL Node () rotateR Node () setColor void (Node end)
RedBlackTree( see note )
Structs Range Functions back Elem () empty bool () const front Elem () popBack void () popFront void () save Range () Attributes _less alias binaryFun!(less) _less alias less Elem alias T insert alias stableInsert Functions this (U)(U[] elems...) this (Stuff)(Stuff stuff) back Elem () clear void () dup RedBlackTree () empty bool () equalRange Range (Elem e) front Elem () lowerBound Range (Elem e) opBinaryRight bool (string op)(Elem e) opSlice Range () remove Range (Range r) removeAny Elem () removeBack void () removeFront void () stableInsert size_t (Stuff)(Stuff stuff) upperBound Range (Elem e)
Functions
make Container (Container, T...)(T arguments) heapify BinaryHeap!Store (Store)(Store s, size_t initialSize = size_t.max)
std.datetime
Structs
Date
Functions this (int day) pure nothrow this (int year, int month, int day) pure add void (string units)(long months, AllowDayOverflow allowOverflow = AllowDayOverflow.yes) pure nothrow add void (string units)(long value, AllowDayOverflow allowOverflow = AllowDayOverflow.yes) pure nothrow day ubyte () const pure nothrow day void (int day) pure dayOfGregorianCal int () const pure nothrow dayOfGregorianCal void (int day) pure nothrow dayOfWeek DayOfWeek () const pure nothrow dayOfYear ushort () const pure nothrow dayOfYear void (int day) pure diffMonths int (in Date rhs) const pure nothrow endOfMonth Date () const pure nothrow endOfMonthDay ubyte () const pure nothrow fromISOExtendedString static Date (S)(in S isoExtString) fromISOString static Date (S)(in S isoString) fromSimpleString static Date (S)(in S simpleString) isAD bool () const pure nothrow isLeapYear bool () const pure nothrow isoWeek ubyte () const pure nothrow julianDay long () const pure nothrow max static Date () pure nothrow min static Date () pure nothrow modJulianDay long () const pure nothrow month Month () const pure nothrow month void (Month month) pure opBinary Date (string op, D)(in D duration) const pure nothrow opBinary Duration (string op)(in Date rhs) const pure nothrow opCmp int (in Date rhs) const pure nothrow opOpAssign Date (string op, D)(in D duration) pure nothrow roll void (string units)(long days) pure nothrow roll void (string units)(long months, AllowDayOverflow allowOverflow = AllowDayOverflow.yes) pure nothrow roll void (string units)(long value, AllowDayOverflow allowOverflow = AllowDayOverflow.yes) pure nothrow toISOExtendedString string () const nothrow toISOString string () const nothrow toSimpleString string () const nothrow toString string () toString string () const nothrow year short () const pure nothrow year void (int year) pure yearBC ushort () const pure yearBC void (int year) pure
DateTime
Functions this (in Date date, in TimeOfDay tod = TimeOfDay.init) pure nothrow this (int year, int month, int day, int hour = 0, int minute = 0, int second = 0) pure add void (string units)(long value, AllowDayOverflow allowOverflow = AllowDayOverflow.yes) pure nothrow date Date () const pure nothrow date void (in Date date) pure nothrow day ubyte () const pure nothrow day void (int day) pure dayOfGregorianCal int () const pure nothrow dayOfGregorianCal void (int days) pure nothrow dayOfWeek DayOfWeek () const pure nothrow dayOfYear ushort () const pure nothrow dayOfYear void (int day) pure diffMonths int (in DateTime rhs) const pure nothrow endOfMonth DateTime () const pure nothrow endOfMonthDay ubyte () const pure nothrow fromISOExtendedString static DateTime (S)(in S isoExtString) fromISOString static DateTime (S)(in S isoString) fromSimpleString static DateTime (S)(in S simpleString) hour ubyte () const pure nothrow hour void (int hour) pure isAD bool () const pure nothrow isLeapYear bool () const pure nothrow isoWeek ubyte () const pure nothrow julianDay long () const pure nothrow max static DateTime () pure nothrow min static DateTime () pure nothrow minute ubyte () const pure nothrow minute void (int minute) pure modJulianDay long () const pure nothrow month Month () const pure nothrow month void (Month month) pure opBinary DateTime (string op, D)(in D duration) const pure nothrow opBinary Duration (string op)(in DateTime rhs) const pure nothrow opCmp int (in DateTime rhs) const pure nothrow opOpAssign DateTime (string op, D)(in D duration) pure nothrow roll void (string units)(long days) pure nothrow roll void (string units)(long value) pure nothrow roll void (string units)(long value, AllowDayOverflow allowOverflow = AllowDayOverflow.yes) pure nothrow second ubyte () const pure nothrow second void (int second) pure timeOfDay TimeOfDay () const pure nothrow timeOfDay void (in TimeOfDay tod) pure nothrow toISOExtendedString string () const nothrow toISOString string () const nothrow toSimpleString string () const nothrow toString string () toString string () const nothrow year short () const pure nothrow year void (int year) pure yearBC short () const pure yearBC void (int year) pure
Interval(TP)
Functions this (D)(in TP begin, in D duration) pure this (U)(in TP begin, in U end) pure begin TP () const pure nothrow begin void (TP timePoint) pure bwdRange IntervalRange!(TP, Direction.bwd) (TP delegate(in TP) func, PopFirst popFirst = PopFirst.no) const contains bool (in Interval interval) const pure contains bool (in NegInfInterval!TP interval) const pure contains bool (in PosInfInterval!TP interval) const pure contains bool (in TP timePoint) const pure empty bool () const pure nothrow end TP () const pure nothrow end void (TP timePoint) pure expand void (D)(D duration, Direction dir = Direction.both) pure expand void (T)(T years, T months = 0, AllowDayOverflow allowOverflow = AllowDayOverflow.yes, Direction dir = Direction.both) fwdRange IntervalRange!(TP, Direction.fwd) (TP delegate(in TP) func, PopFirst popFirst = PopFirst.no) const intersection Interval (in Interval interval) const intersection Interval (in NegInfInterval!TP interval) const intersection Interval (in PosInfInterval!TP interval) const intersects bool (in Interval interval) const pure intersects bool (in NegInfInterval!TP interval) const pure intersects bool (in PosInfInterval!TP interval) const pure isAdjacent bool (in Interval interval) const pure isAdjacent bool (in NegInfInterval!TP interval) const pure isAdjacent bool (in PosInfInterval!TP interval) const pure isAfter bool (in Interval interval) const pure isAfter bool (in NegInfInterval!TP interval) const pure isAfter bool (in PosInfInterval!TP interval) const pure isAfter bool (in TP timePoint) const pure isBefore bool (in Interval interval) const pure isBefore bool (in NegInfInterval!TP interval) const pure isBefore bool (in PosInfInterval!TP interval) const pure isBefore bool (in TP timePoint) const pure length typeof(end - begin) () const pure nothrow merge Interval (in Interval interval) const merge NegInfInterval!TP (in NegInfInterval!TP interval) const merge PosInfInterval!TP (in PosInfInterval!TP interval) const opAssign Interval (const ref Interval rhs) pure nothrow opAssign Interval (Interval rhs) pure nothrow shift void (D)(D duration) pure shift void (T)(T years, T months = 0, AllowDayOverflow allowOverflow = AllowDayOverflow.yes) span Interval (in Interval interval) const pure span NegInfInterval!TP (in NegInfInterval!TP interval) const pure span PosInfInterval!TP (in PosInfInterval!TP interval) const pure toString string () toString string () const nothrow
IntervalRange(TP, Direction dir)
Functions direction Direction () const pure nothrow empty bool () const pure nothrow front TP () const pure func TP delegate(in TP) () pure nothrow @property interval Interval!TP () const pure nothrow opAssign IntervalRange (ref IntervalRange rhs) pure nothrow popFront void () save IntervalRange () pure nothrow
NegInfInterval(TP)
Functions this (in TP end) pure nothrow bwdRange NegInfIntervalRange!(TP) (TP delegate(in TP) func, PopFirst popFirst = PopFirst.no) const contains bool (in Interval!TP interval) const pure contains bool (in NegInfInterval interval) const pure nothrow contains bool (in PosInfInterval!TP interval) const pure nothrow contains bool (TP timePoint) const pure nothrow empty bool () const pure nothrow end TP () const pure nothrow end void (TP timePoint) pure nothrow expand void (D)(D duration) pure nothrow expand void (T)(T years, T months = 0, AllowDayOverflow allowOverflow = AllowDayOverflow.yes) intersection Interval!TP (in Interval!TP interval) const intersection Interval!TP (in PosInfInterval!TP interval) const intersection NegInfInterval (in NegInfInterval interval) const nothrow intersects bool (in Interval!TP interval) const pure intersects bool (in NegInfInterval!TP interval) const pure nothrow intersects bool (in PosInfInterval!TP interval) const pure nothrow isAdjacent bool (in Interval!TP interval) const pure isAdjacent bool (in NegInfInterval interval) const pure nothrow isAdjacent bool (in PosInfInterval!TP interval) const pure nothrow isAfter bool (in Interval!TP interval) const pure isAfter bool (in NegInfInterval interval) const pure nothrow isAfter bool (in PosInfInterval!TP interval) const pure nothrow isAfter bool (in TP timePoint) const pure nothrow isBefore bool (in Interval!TP interval) const pure isBefore bool (in NegInfInterval interval) const pure nothrow isBefore bool (in PosInfInterval!TP interval) const pure nothrow isBefore bool (in TP timePoint) const pure nothrow merge NegInfInterval (in Interval!TP interval) const merge NegInfInterval (in NegInfInterval interval) const pure nothrow opAssign NegInfInterval (const ref NegInfInterval rhs) pure nothrow opAssign NegInfInterval (NegInfInterval rhs) pure nothrow shift void (D)(D duration) pure nothrow shift void (T)(T years, T months = 0, AllowDayOverflow allowOverflow = AllowDayOverflow.yes) span NegInfInterval (in Interval!TP interval) const pure span NegInfInterval (in NegInfInterval interval) const pure nothrow toString string () toString string () const nothrow
NegInfIntervalRange(TP)
Functions front TP () const pure nothrow func TP delegate(in TP) () pure nothrow interval NegInfInterval!TP () const pure nothrow popFront void () save NegInfIntervalRange () pure nothrow
PosInfInterval(TP)
Functions this (in TP begin) pure nothrow begin TP () const pure nothrow begin void (TP timePoint) pure nothrow contains bool (in Interval!TP interval) const pure contains bool (in NegInfInterval!TP interval) const pure nothrow contains bool (in PosInfInterval interval) const pure nothrow contains bool (TP timePoint) const pure nothrow empty bool () const pure nothrow expand void (D)(D duration) pure nothrow expand void (T)(T years, T months = 0, AllowDayOverflow allowOverflow = AllowDayOverflow.yes) fwdRange PosInfIntervalRange!(TP) (TP delegate(in TP) func, PopFirst popFirst = PopFirst.no) const intersection Interval!TP (in Interval!TP interval) const intersection Interval!TP (in NegInfInterval!TP interval) const intersection PosInfInterval (in PosInfInterval interval) const pure nothrow intersects bool (in Interval!TP interval) const pure intersects bool (in NegInfInterval!TP interval) const pure nothrow intersects bool (in PosInfInterval interval) const pure nothrow isAdjacent bool (in Interval!TP interval) const pure isAdjacent bool (in NegInfInterval!TP interval) const pure nothrow isAdjacent bool (in PosInfInterval interval) const pure nothrow isAfter bool (in Interval!TP interval) const pure isAfter bool (in NegInfInterval!TP interval) const pure nothrow isAfter bool (in PosInfInterval interval) const pure nothrow isAfter bool (in TP timePoint) const pure nothrow isBefore bool (in Interval!TP interval) const pure isBefore bool (in NegInfInterval!TP interval) const pure nothrow isBefore bool (in PosInfInterval interval) const pure nothrow isBefore bool (in TP timePoint) const pure nothrow merge PosInfInterval (in Interval!TP interval) const merge PosInfInterval (in PosInfInterval interval) const pure nothrow opAssign PosInfInterval (const ref PosInfInterval rhs) pure nothrow opAssign PosInfInterval (PosInfInterval rhs) pure nothrow shift void (D)(D duration) pure nothrow shift void (T)(T years, T months = 0, AllowDayOverflow allowOverflow = AllowDayOverflow.yes) span PosInfInterval (in Interval!TP interval) const pure span PosInfInterval (in PosInfInterval interval) const pure nothrow toString string () toString string () const nothrow
PosInfIntervalRange(TP)
Functions front TP () const pure nothrow func TP delegate(in TP) () pure nothrow interval PosInfInterval!TP () const pure nothrow opAssign PosInfIntervalRange (ref PosInfIntervalRange rhs) pure nothrow popFront void () save PosInfIntervalRange () pure nothrow
StopWatch
Functions this (AutoStart autostart) peek @safe const Ticks () reset @safe void () start @safe void () stop @safe void ()
SysTime
Functions this (in Date date, immutable TimeZone tz = null) nothrow this (in DateTime dateTime, immutable TimeZone tz = null) nothrow this (in DateTime dateTime, in FracSec fsec, immutable TimeZone tz = null) nothrow this (long stdTime, immutable TimeZone tz = null) pure nothrow add ref SysTime (string units)(long value, AllowDayOverflow allowOverflow = AllowDayOverflow.yes) nothrow day ubyte () const nothrow day void (int day) dayOfGregorianCal int () const nothrow dayOfGregorianCal void (int days) nothrow dayOfWeek DayOfWeek () const nothrow dayOfYear ushort () const nothrow dayOfYear void (int day) diffMonths int (in SysTime rhs) const nothrow dstInEffect bool () const nothrow endOfMonth SysTime () const nothrow endOfMonthDay ubyte () const nothrow fracSec FracSec () const nothrow fracSec void (FracSec fracSec) nothrow fromISOExtendedString static SysTime (S)(in S isoExtString, immutable TimeZone tz = null) fromISOString static SysTime (S)(in S isoString, immutable TimeZone tz = null) fromSimpleString static SysTime (S)(in S simpleString, immutable TimeZone tz = null) hour ubyte () const nothrow hour void (int hour) isAD bool () const nothrow isLeapYear bool () const nothrow isoWeek ubyte () const nothrow julianDay long () const nothrow max static SysTime () pure nothrow min static SysTime () pure nothrow minute ubyte () const nothrow minute void (int minute) modJulianDay long () const nothrow month Month () const nothrow month void (Month month) opAssign ref SysTime (const ref SysTime rhs) pure nothrow opAssign ref SysTime (SysTime rhs) pure nothrow opBinary Duration (string op)(in SysTime rhs) const pure nothrow opBinary SysTime (string op, D)(in D duration) const pure nothrow opCast Date (T)() const nothrow opCast DateTime (T)() const nothrow opCast SysTime (T)() const pure nothrow opCast TimeOfDay (T)() const nothrow opCmp int (in SysTime rhs) const pure nothrow opEquals bool (const ref SysTime rhs) const pure nothrow opOpAssign SysTime (string op, D)(in D duration) pure nothrow roll void (string units)(long value) nothrow roll void (string units)(long value) nothrow roll void (string units)(long value) nothrow roll void (string units)(long value, AllowDayOverflow allowOverflow = AllowDayOverflow.yes) nothrow roll void (string units)(long value, AllowDayOverflow allowOverflow = AllowDayOverflow.yes) nothrow second ubyte () const nothrow second void (int second) stdTime long () const pure nothrow stdTime void (long stdTime) pure nothrow timezone immutable(TimeZone) () const pure nothrow timezone void (immutable TimeZone timezone) pure nothrow toISOExtendedString string () const nothrow toISOString string () const nothrow toLocalTime SysTime () const nothrow toOtherTZ SysTime (immutable TimeZone tz) const pure nothrow toSimpleString string () const nothrow toString string () toString string () const nothrow toTimeVal timeval () const pure nothrow toTM tm () const nothrow toUnixTime time_t () const pure nothrow toUTC SysTime () const pure nothrow year short () const nothrow year void (int year) yearBC ushort () const yearBC void (int year)
Ticks
Attributes appOrigin Ticks static immutable microseconds alias toMicroseconds!real milliseconds alias toMilliseconds!real msec alias toMilliseconds!long sec alias toSeconds!long seconds alias toSeconds!real ticksPerSec long static immutable usec alias toMicroseconds!long value long Functions this shared static () fromMicroseconds static Ticks (long usec) fromMilliseconds static Ticks (long msec) fromSeconds static Ticks (T)(T sec) opBinary const real (string op)(Ticks x) opBinary const Ticks (string op)(in Ticks t) opBinary Ticks (string op, T)(T x) opCmp const int (ref const Ticks t) opEquals const equals_t (ref const Ticks t) opOpAssign void (string op)(in Ticks t) opOpAssign void (string op, T)(T x) toMicroseconds const T (T)() toMicroseconds const T (T)() toMilliseconds const T (T)() toMilliseconds const T (T)() toSeconds const T (T)() toSeconds const T (T)()
TimeOfDay
Functions this (int hour, int minute, int second = 0) pure fromISOExtendedString static TimeOfDay (S)(in S isoExtString) fromISOString static TimeOfDay (S)(in S isoString) hour ubyte () const pure nothrow hour void (int hour) pure max static TimeOfDay () pure nothrow min static TimeOfDay () pure nothrow minute ubyte () const pure nothrow minute void (int minute) pure opBinary Duration (string op)(in TimeOfDay rhs) const pure nothrow opBinary TimeOfDay (string op, D)(in D duration) const pure nothrow opCmp int (in TimeOfDay rhs) const pure nothrow opOpAssign TimeOfDay (string op, D)(in D duration) pure nothrow roll void (string units)(long value) pure nothrow roll void (string units)(long value) pure nothrow second ubyte () const pure nothrow second void (int second) pure toISOExtendedString string () const nothrow toISOString string () const nothrow toString string () toString string () const nothrow
Classes
Clock
Functions currAppTick static TickDuration () currStdTime static long () currSystemTick static TickDuration () currTime static SysTime (immutable TimeZone tz = LocalTime())
TimeZone
Functions dstInEffect abstract bool (long stdTime) const nothrow; dstName string () const nothrow getInstalledTZNames static string[] (string subName = "") getTimeZone static immutable(TimeZone) (string name) hasDST abstract bool () const nothrow name string () const nothrow stdName string () const nothrow tzToUTC abstract long (long adjTime) const nothrow utcToTZ abstract long (long stdTime) const nothrow
LocalTime : TimeZone
Functions dstInEffect override bool (long stdTime) const nothrow dstName override string () const nothrow hasDST override bool () const nothrow opCall static immutable(LocalTime) () pure nothrow stdName override string () const nothrow tzToUTC override long (long adjTime) const nothrow utcToTZ override long (long stdTime) const nothrow
PosixTimeZone : TimeZone
Functions dstInEffect override bool (long stdTime) const nothrow getInstalledTZNames static string[] (string subName = "", string tzDatabaseDir = defaultTZDatabaseDir) getTimeZone static immutable(PosixTimeZone) (string name, string tzDatabaseDir = defaultTZDatabaseDir) hasDST override bool () const nothrow tzToUTC override long (long adjTime) const nothrow utcToTZ override long (long stdTime) const nothrow
SimpleTimeClass : TimeZone
Attributes utcOffset int immutable Functions this (int utcOffset, string stdName = "") immutable dstInEffect override bool (long stdTime) const nothrow hasDST override bool () const nothrow tzToUTC override long (long adjTime) const nothrow utcToTZ override long (long stdTime) const nothrow
UTC : TimeZone
Functions dstInEffect override bool (long stdTime) const nothrow hasDST override bool () const nothrow opCall static immutable(UTC) () pure nothrow tzToUTC override long (long adjTime) const nothrow utcToTZ override long (long stdTime) const nothrow
WindowsTimeZone : TimeZone
Functions dstInEffect override bool (long stdTime) const nothrow getInstalledTZNames static string[] () getTimeZone static immutable(WindowsTimeZone) (string name) hasDST override bool () const nothrow tzToUTC override long (long adjTime) const nothrow utcToTZ override long (long stdTime) const nothrow
Attributes
AllowDayOverflow enum AutoStart enum DayOfWeek enum : ubyte Direction enum DosFileTime typedef uint indexOf alias std.string.indexOf Month enum : ubyte PopFirst enum timeStrings string[] immutable
Functions
abs D (D)(D duration) cmpTimeUnits int (string lhs, string rhs) daysToDayOfWeek static int (DayOfWeek currDoW, DayOfWeek dow) pure nothrow DosFileTimeToSysTime SysTime (DosFileTime dft, immutable TimeZone tz = LocalTime()) dTimeToSysTime SysTime (long dTime, immutable TimeZone tz = null) enforceValid void (string units)(int value, string file = __FILE__, size_t line = __LINE__) pure enforceValid void (string units)(int year, Month month, int day, string file = __FILE__, size_t line = __LINE__) pure everyDayOfWeek static TP delegate(in TP) (TP, Direction dir = Direction.fwd)(DayOfWeek dayOfWeek) nothrow everyDuration static TP delegate(in TP) (TP, Direction dir = Direction.fwd, D)(D duration) nothrow everyDuration static TP delegate(in TP) (TP, Direction dir = Direction.fwd, D)(int years, int months = 0, AllowDayOverflow allowOverflow = AllowDayOverflow.yes, D duration = dur!"days"(0)) nothrow everyMonth static TP delegate(in TP) (TP, Direction dir = Direction.fwd)(int month) lengthof size_t (aliases...)() pure nothrow monthsToMonth static int (int currMonth, int month) pure stdTimeToUnixTime time_t (long stdTime) pure nothrow SysTimeToDosFileTime DosFileTime (SysTime sysTime) sysTimeToDTime long (in SysTime sysTime) tzDatabaseNameToWindowsTZName string (string tzName) unixTimeToStdTime long (time_t unixTime) pure nothrow valid bool (string units)(int value) pure nothrow valid bool (string units)(int year, int month, int day) pure nothrow validTimeUnits bool (string[] units...) windowsTZNameToTZDatabaseName string (string tzName) yearIsLeapYear static bool (int year) pure nothrow
std.file
Structs
DirEntry
Attributes attributes uint creationTime d_time lastAccessTime d_time lastWriteTime d_time name string size ulong Functions init void (in char[] path, in WIN32_FIND_DATA *fd) init void (in char[] path, in WIN32_FIND_DATAW *fd) isdir bool () const isfile bool () const
DirIterator
Attributes pathname string mode SpanMode Functions opApply int (D)(scope D dg)
Classes
FileException : Exception
Attributes
SpanMode enum
Functions
append void (in char[] name, in void[] buffer) chdir void (in char[] pathname) copy void (in char[] from, in char[] to) dirEntries DirIterator (string path, SpanMode mode) exists bool (in char[] name) getAttributes uint (in char[] name) getcwd string () getSize ulong (in char[] name) getTimes void (in char[] name, out d_time ftc, out d_time fta, out d_time ftm) isdir bool (in char[] name) isfile bool (in char[] name) lastModified d_time (in char[] name, d_time returnIfMissing) listdir string[] (in char[] pathname) listdir string[] (in char[] pathname, in char[] pattern) listdir string[] (in char[] pathname, RegExp r) listdir void (in char[] pathname, bool delegate(DirEntry* de) callback) listdir void (in char[] pathname, bool delegate(string filename) callback) mkdir void (in char[] pathname) mkdirRecurse void (in char[] pathname) read void[] (in char[] name, size_t upTo = size_t.max) readText S (S = string)(in char[] name) remove void (in char[] name) rename void (in char[] from, in char[] to) rmdir void (in char[] pathname) rmdirRecurse void (in char[] pathname) setTimes void (in char[] name, d_time fta, d_time ftm) write void (in char[] name, const void[] buffer)
std.math
Structs
IeeeFlags
Attributes flags uint Functions divByZero bool () inexact bool () invalid bool () overflow bool () underflow bool ()
FloatingPointControl
Attributes EXCEPTION_MASK ushort initialize bool ROUNDING_MASK ushort RoundingMode alias uint savedState ushort Functions disableExceptions void (uint exceptions) enabledExceptions static uint () enableExceptions void (uint exceptions) rounding static RoundingMode () rounding void (RoundingMode newMode)
Attributes
isnan alias isNaN isfinite alias isFinite isnormal alias isNormal issubnormal alias isSubnormal isinf alias isInfinity E real LOG2T real LOG2E real LOG2 real LOG10E real LN2 real LN10 real PI real PI_2 real PI_4 real M_1_PI real M_2_PI real M_2_SQRTPI real SQRT2 real SQRT1_2 real
Functions
abs auto (Num)(Num z) @safe pure nothrow abs Num (Num)(Num x) @safe pure nothrow abs real (Num)(Num y) @safe pure nothrow acos double (double x) @safe pure nothrow acos float (float x) @safe pure nothrow acos real (real x) @safe pure nothrow acosh double (double x) @safe pure nothrow acosh float (float x) @safe pure nothrow acosh real (real x) @safe pure nothrow approxEqual bool (T, U)(T lhs, U rhs) approxEqual bool (T, U, V)(T lhs, U rhs, V maxRelDiff, V maxAbsDiff = 1e-5) asin double (double x) @safe pure nothrow asin float (float x) @safe pure nothrow asin real (real x) @safe pure nothrow asinh double (double x) @safe pure nothrow asinh float (float x) @safe pure nothrow asinh real (real x) @safe pure nothrow atan double (double x) @safe pure nothrow atan float (float x) @safe pure nothrow atan real (real x) @safe pure nothrow atan2 double (double y, double x) @safe pure nothrow atan2 float (float y, float x) @safe pure nothrow atan2 real (real y, real x) @trusted pure nothrow atanh double (double x) @safe pure nothrow atanh float (float x) @safe pure nothrow atanh real (real x) @safe pure nothrow cbrt real (real x) @trusted nothrow ceil real (real x) @trusted nothrow conj creal (creal z) @safe pure nothrow conj ireal (ireal y) @safe pure nothrow copysign real (real to, real from) @trusted pure nothrow cos creal (creal z) @safe pure nothrow cos real (ireal y) @safe pure nothrow cos real (real x) @safe pure nothrow; cosh double (double x) @safe pure nothrow cosh float (float x) @safe pure nothrow cosh real (real x) @safe pure nothrow erf real (real x) @trusted nothrow erfc real (real x) @trusted nothrow exp double (double x) @safe pure nothrow exp float (float x) @safe pure nothrow exp real (real x) @safe pure nothrow exp2 real (real x) @trusted pure nothrow expi creal (real y) @trusted pure nothrow expm1 real (real x) @trusted pure nothrow fabs real (real x) @safe pure nothrow; fdim real (real x, real y) @safe pure nothrow feqrel int (X)(X x, X y) @trusted pure nothrow floor real (real x) @trusted nothrow fma real (real x, real y, real z) @safe pure nothrow fmax real (real x, real y) @safe pure nothrow fmin real (real x, real y) @safe pure nothrow frexp real (real value, out int exp) @trusted pure nothrow getNaNPayload ulong (real x) @trusted pure nothrow hypot real (real x, real y) @safe pure nothrow ieeeFlags IeeeFlags () ieeeMean T (T)(T x, T y) @trusted pure nothrow ilogb int (real x) @trusted nothrow isFinite int (real e) @trusted pure nothrow isIdentical bool (real x, real y) @trusted pure nothrow isInfinity bool (real x) @trusted pure nothrow isNaN bool (real x) @trusted pure nothrow isNormal int (X)(X x) @trusted pure nothrow isSubnormal int (double d) @trusted pure nothrow isSubnormal int (float f) @trusted pure nothrow isSubnormal int (real x) @trusted pure nothrow ldexp real (real n, int exp) @safe pure nothrow; lgamma real (real x) @trusted nothrow log real (real x) @safe pure nothrow log10 real (real x) @safe pure nothrow log1p real (real x) @safe pure nothrow log2 real (real x) @safe pure nothrow logb real (real x) @trusted nothrow lrint long (real x) @trusted pure nothrow lround long (real x) @trusted nothrow modf real (real x, ref real y) @trusted nothrow NaN real (ulong payload) @trusted pure nothrow nearbyint real (real x) @trusted nothrow nextafter T (T)(T x, T y) @safe pure nothrow nextDown double (double x) @safe pure nothrow nextDown float (float x) @safe pure nothrow nextDown real (real x) @safe pure nothrow nextUp double (double x) @trusted pure nothrow nextUp float (float x) @trusted pure nothrow nextUp real (real x) @trusted pure nothrow poly real (real x, const real[] A) @trusted pure nothrow pow real (I, F)(I x, F y) @trusted pure nothrow pow typeof(Unqual!(F).init * Unqual!(G).init) (F, G)(F x, G n) @trusted pure nothrow pow Unqual!(Largest!(F, G)) (F, G)(F x, G y) @trusted pure nothrow pow Unqual!F (F, G)(F x, G n) @trusted pure nothrow remainder real (real x, real y) @trusted nothrow remquo real (real x, real y, out int n) @trusted nothrow resetIeeeFlags void () rint real (real x) @safe pure nothrow; rndtol long (real x) @safe pure nothrow; round real (real x) @trusted nothrow scalbn real (real x, int n) @trusted nothrow sgn F (F)(F x) @safe pure nothrow signbit int (real x) @trusted pure nothrow sin creal (creal z) @safe pure nothrow sin ireal (ireal y) @safe pure nothrow sin real (real x) @safe pure nothrow; sinh double (double x) @safe pure nothrow sinh float (float x) @safe pure nothrow sinh real (real x) @safe pure nothrow sqrt creal (creal z) @safe pure nothrow tan real (real x) @trusted pure nothrow tanh double (double x) @safe pure nothrow tanh float (float x) @safe pure nothrow tanh real (real x) @safe pure nothrow tgamma real (real x) @trusted nothrow trunc real (real x) @trusted nothrow yl2x real (real x, real y) @safe pure nothrow; yl2xp1 real (real x, real y) @safe pure nothrow;
std.path
Attributes
altsep string curdir string linesep string pardir string pathsep string sep string
Functions
addExt string (string filename, string ext) basename Char[] (Char, ExtChar = immutable(char))(Char[] fullname, ExtChar[] extension = null) defaultExt string (string filename, string ext) dirname Char[] (Char)(Char[] fullname) expandTilde string (string inputPath) fncharmatch bool (dchar c1, dchar c2) fnmatch bool (const(char)[] filename, const(char)[] pattern) getDrive Char[] (Char)(Char[] fullname) getExt string (string fullname) getName string (string fullname) isabs bool (in char[] path) join string (const(char)[] p1, const(char)[] p2, const(char)[][] more...) rel2abs string (string path)
std.random
Structs
LinearCongruentialEngine
Attributes empty bool hasFixedRange bool increment UIntType max UIntType min UIntType modulus UIntType multiplier UIntType Functions this (UIntType x0) front UIntType () opEquals bool (ref const LinearCongruentialEngine rhs) const popFront void () save typeof(this) () seed void (UIntType x0 = 1)
MersenneTwisterEngine
Attributes _y UIntType defaultSeed UIntType empty bool maskBits size_t max UIntType min UIntType shiftSize size_t stateSize size_t temperingB UIntType temperingC UIntType temperingL size_t temperingS size_t temperingT size_t temperingU UIntType wordSize size_t xorMask UIntType Functions this (UIntType value) front UIntType () popFront void () save typeof(this) () seed void (UIntType value = defaultSeed)
RandomCover
Functions this (Range input, Random rnd) empty bool () front auto ref () length size_t () popFront void () save typeof(this) ()
RandomSample
Functions this (R input, size_t howMany) this (R input, size_t howMany, size_t total) empty bool () const index size_t () length size_t () popFront void () save typeof(this) ()
Attributes
Random alias Mt19937 MinstdRand0 alias LinearCongruentialEngine!(uint, 16807, 0, 2147483647) MinstdRand alias LinearCongruentialEngine!(uint, 48271, 0, 2147483647) Mt19937 alias MersenneTwisterEngine!(uint, 32, 624, 397, 31, 0x9908b0df, 11, 7, 0x9d2c5680, 15, 0xefc60000, 18)
Functions
dice size_t (Num)(Num[] proportions...) dice size_t (R, Num)(ref R rnd, Num[] proportions...) dice size_t (R, Range)(ref R rnd, Range proportions) dice size_t (Range)(Range proportions) rand_seed void (uint seed, uint index) randomSample RandomSample!R (R)(R r, size_t n) randomSample RandomSample!R (R)(R r, size_t n, size_t total) randomShuffle void (Range, RandomGen = Random)(Range r, ref RandomGen gen = rndGen) rndGen ref Random () uniform CommonType!(T1, T2) (string boundaries = "[)", T1, T2)(T1 a, T2 b) uniform CommonType!(T1, T2) (string boundaries = "[)", T1, T2, UniformRandomNumberGenerator)(T1 a, T2 b, ref UniformRandomNumberGenerator urng) uniformDistribution F[] (F = double)(size_t n, F[] useThis = null) unpredictableSeed uint ()
std.regex
Structs
Regex(E)
Structs Range Attributes base ubyte* bits BitArray buf OutBuffer maxb uint maxc uint Functions this (OutBuffer buf) setbit2 void (uint u) setbitmax void (uint u) Functions this (String)(String pattern, string attributes = null) captures uint () const compile public void (String)(String pattern, string attributes) error void (string msg) optimize void (OutBuffer buf) parseAtom int (String)(in String pattern, ref size_t p, OutBuffer buf) parsePiece int (String)(in String pattern, ref size_t p, OutBuffer buf) parseRange int (String)(in String pattern, ref size_t p, OutBuffer buf) parseRegex int (String)(in String pattern, ref size_t p, OutBuffer buf) printProgram void (const(ubyte)[] prog = null) regex Regex!(Unqual!(typeof(String.init[0]))) (String)(String pattern, string flags = null) starrchars bool (ref Range r, const(ubyte)[] prog)
RegexMatch(Range = string)
Structs Captures Functions empty bool () front Range () length size_t () opIndex Range (size_t n) opSlice ref auto () popFront void () save typeof(this) () Attributes E alias typeof(Range.init[0]) engine Regex input Range pmatch regmatch_t[] Regex alias .Regex!(Unqual!E) src size_t src_start size_t Functions this (this) captures Captures () empty bool () const front RegexMatch!(Range) () hit Range () popFront void () post Range () pre Range () save typeof(this) () toString string ()
Splitter(Range)
Attributes _input Range _offset size_t _match RegexMatch!(Range) Rx alias Regex!(Unqual!(typeof(Range.init[0]))) Functions this (Range input, Rx separator) empty bool () front Range () opSlice ref auto () popFront void () save typeof(this) ()
Attributes
url string email string
Functions
match RegexMatch!(Range) (Range, E)(Range r, E[] engine, string opt = null) match RegexMatch!(Range) (Range, Engine)(Range r, Engine engine) regex Regex!(Unqual!(typeof(String.init[0]))) (String)(String pattern, string flags = null) replace Range (alias fun, Range, Regex)(Range s, Regex rx) replace Range (Range, Engine, String)(Range input, Engine regex, String format) split String[] (String)(String input, Regex!(char) rx) splitter Splitter!(Range) (Range, Regex)(Range r, Regex pat)
std.stdio
Structs
File
Structs ByChunk Functions this (File file, size_t size) empty bool () const front ubyte[] () popFront void () LockingTextWriter Attributes fps FILE* handle _iobuf* orientation int Functions this (ref File f) this (this) put void (A)(A writeme) if (is(ElementType!A : const(dchar))) put void (C)(C c) if (is(C : const(dchar))) ByLine Attributes file File keepTerminator KeepTerminator line Char[] terminator Terminator Functions this (File f, KeepTerminator kt = KeepTerminator.no, Terminator terminator = '\n') empty bool () const front Char[] () popFront void () Attributes KeepTerminator enum Functions this (string name, in char[] stdioOpenmode = "rb") this (this) byChunk ByChunk (size_t chunkSize) byLine ByLine!(Char, Terminator) (Terminator = char, Char = char)(KeepTerminator keepTerminator = KeepTerminator.no, Terminator terminator = '\n') clearerr void () close void () detach void () eof bool () const error bool () const fileno int () const flush void () getFP FILE* () isOpen bool () const lockingTextWriter LockingTextWriter () name string () const opAssign void (File rhs) open void (string name, in char[] stdioOpenmode = "rb") popen void (string command, in char[] stdioOpenmode = "r") rawRead T[] (T)(T[] buffer) rawWrite void (T)(in T[] buffer) readf size_t (Data...)(in char[] format, Data data) readln S (S = string)(dchar terminator = '\n') readln size_t (C)(ref C[] buf, dchar terminator = '\n') readln size_t (C, R)(ref C[] buf, R terminator) rewind void () seek void (long offset, int origin = SEEK_SET) setvbuf void (size_t size, int mode = _IOFBF) setvbuf void (void[] buf, int mode = _IOFBF) tell ulong () const tmpfile static File () wrapFile static File (FILE* f) write void (S...)(S args) writef void (S...)(S args) writefln void (S...)(S args) writeln void (S...)(S args)
LockingTextReader
Functions this (File f) this (this) ~this () byChunk ByChunk (size_t chunkSize) clearerr void () close void () detach void ()
lines
Functions this (File f, dchar terminator = '\n') opApply int (D)(scope D dg) opApplyRaw int (D)(scope D dg)
chunks
Functions this (File f, size_t size) opApply int (D)(scope D dg)
ByRecord(Fields...)
Functions this (File f, string format) empty bool () popFront void ()
Classes
StdioException : Exception
Functions this (string message, uint e = .getErrno) opCall void (string msg) opCall void ()
Functions
readf void (A...)(in char[] format, A args) readln string (dchar terminator = '\n') readln size_t (ref char[] buf, dchar terminator = '\n') write void (T...)(T args) if (!is(T[0] : File)) writef void (T...)(T args) writefln void (T...)(T args) writeln void (T...)(T args) writeln void (T...)(T args) writeln void (T...)(T args)
std.string
Structs
ByCodeUnit
Functions this (Range input) back ElementType () empty bool () front ElementType () popBack void () popFront void ()
Attributes
CaseSensitive enum digits char[10] hexdigits char[16] letters char[52] lowercase char[26] LS dchar newline char[2] octdigits char[8] PS dchar uppercase char[26] whitespace char[6]
Functions
abbrev string[string] (string[] values) byDchar ByCodeUnit!(Range, dchar) (Range)(Range s) capitalize string (string s) capwords string (string s) center string (string s, int width) chomp C[] (C)(C[] s) chomp C[] (C, C1)(C[] s, in C1[] delimiter) chompPrefix C1[] (C1, C2)(C1[] longer, C2[] shorter) chop string (string s) cmp int (C1, C2)(in C1[] s1, in C2[] s2) column size_t (string str, int tabsize = 8) count size_t (in char[] s, in char[] sub) countchars size_t (string s, string pattern) endsWith bool (A1, A2)(A1 longer, A2 shorter) entab string (string s, int tabsize = 8) expandtabs string (string str, int tabsize = 8) format string (...) icmp sizediff_t (C1, C2)(in C1[] s1, in C2[] s2) indexOf sizediff_t (Char)(in Char[] s, dchar c, CaseSensitive cs = CaseSensitive.yes) indexOf sizediff_t (Char1, Char2)(const(Char1)[] s, const(Char2)[] sub, CaseSensitive cs = CaseSensitive.yes) inPattern bool (dchar c, in string pattern) inPattern int (dchar c, string[] patterns) insert string (string s, size_t index, string sub) isNumeric bool (...) isNumeric bool (TypeInfo[] _arguments, va_list _argptr) isNumeric final bool (string s, in bool bAllowSep = false) iswhite bool (dchar c) join string (in string[] words, string sep) lastIndexOf ptrdiff_t (in char[] s, dchar c, CaseSensitive cs = CaseSensitive.yes) lastIndexOf ptrdiff_t (in char[] s, in char[] sub, CaseSensitive cs = CaseSensitive.yes) ljustify string (string s, size_t width) maketrans string (in string from, in string to) munch S1 (S1, S2)(ref S1 s, S2 pattern) removechars string (string s, in string pattern) repeat string (string s, size_t n) replace string (string s, string from, string to) replaceSlice string (string s, in string slice, in string replacement) rjustify string (string s, size_t width) sformat char[] (char[] s, ...) soundex char[] (string string, char[] buffer = null) split S[] (S)(S s) split Unqual!(S1)[] (S1, S2)(S1 s, S2 delim) splitlines S[] (S)(S s) splitter auto (String)(String s) squeeze string (string s, string pattern = null) startsWith bool (A1, A2)(A1 longer, A2 shorter) strip String (String)(String s) stripl String (String)(String s) stripr String (String)(String s) succ string (string s) tolower S (S)(S s) tolowerInPlace void (C)(ref C[] s) toStringz immutable(char)* (const(char)[] s) toStringz immutable(char)* (string s) toupper S (S)(S s) toupperInPlace void (C)(ref C[] s) tr string (string str, string from, string to, string modifiers = null) translate string (string s, in string transtab, in string delchars) wrap string (string s, int columns = 80, string firstindent = null, string indent = null, int tabsize = 8) zfill string (string s, int width)
std.json
Structs
JSONValue
Attributes Union str string integer long floating real object JSONValue[string] array JSONValue[] type JSON_TYPE
Classes
JSONException : Exception
Attributes
JSON_TYPE enum : byte
Functions
parseJSON JSONValue (T)(T json, int maxDepth = -1) toJSON string (in JSONValue* root)
Deprecated
std.date
Structs
Date
Attributes day int hour int minute int month int ms int second int tzcorrection int weekday int year int Functions parse void (string s)
Attributes
d_time alias long d_time_nan d_time DosFileTime uint hoursPerDay enum localTZA d_time __gshared minutesPerHour enum msPerDay enum msPerHour enum msPerMinute enum ticksPerDay enum ticksPerHour enum ticksPerMinute enum ticksPerMs enum ticksPerSecond enum
Functions
benchmark ulong[] (fun...)(uint times, ulong[] result = null) d_time2FILETIME FILETIME (d_time dt) dateFromNthWeekdayOfMonth int (int year, int month, int weekday, int n) dateFromTime int (d_time t) day int (d_time t) dayFromYear pure int (int year) daylightSavingTA int (d_time dt) daysInMonth int (int year, int month) daysInYear pure uint (uint year) dmod int (d_time n, d_time d) FILETIME2d_time static d_time (const FILETIME *ft) floor pure d_time (d_time d, int divisor) getLocalTZA d_time () getUTCtime d_time () hourFromTime int (d_time time) inLeapYear pure bool (d_time t) leapYear pure bool (uint y) localTimetoUTC d_time (d_time t) makeDate d_time (d_time day, d_time time) makeDay d_time (d_time year, d_time month, d_time date) makeTime d_time (d_time hour, d_time min, d_time sec, d_time ms) minFromTime int (d_time time) monthFromTime int (d_time t) msFromTime int (d_time time) parse d_time (string s) secFromTime int (d_time time) SYSTEMTIME2d_time static d_time (const SYSTEMTIME *st, d_time t) timeClip d_time (d_time time) timeFromYear pure d_time (int y) timeWithinDay int (d_time t) toDateString string (d_time time) toDosFileTime DosFileTime (d_time t) toDtime d_time (DosFileTime time) toInteger d_time (d_time n) toISO8601YearWeek void (d_time t, out int year, out int week) toTimeString string (d_time time) toUTCString string (d_time t) UTCtoLocalTime d_time (d_time t) UTCtoString string (d_time time) weekDay int (d_time t) yearFromTime pure int (d_time t)