Commit graph

823 commits

Author SHA1 Message Date
Walter Bright
3a3130afa9 last minute fixes for 2.031 2009-07-06 17:32:48 +00:00
Andrei Alexandrescu
8a747d22bc added isSomeChar, isPointer. 2009-07-04 07:08:05 +00:00
Andrei Alexandrescu
d4dff4233c Added isImplicitlyConvertible 2009-04-29 22:03:55 +00:00
Andrei Alexandrescu
21d9d5ce11 Fixed bug 2893 2009-04-25 11:12:15 +00:00
Andrei Alexandrescu
072f7cdb4f added Unqual template 2009-04-06 05:43:22 +00:00
Andrei Alexandrescu
c5cdcfc3ec minor 2009-04-06 04:58:45 +00:00
Walter Bright
a0ce8d1f66 fix isIntegral, isFloatingPoint, add unit tests 2009-03-30 03:04:18 +00:00
Don Clugston
b94f6e1c20 static const -> enum, to allow these templates to be used in pure functions. 2009-03-18 09:12:43 +00:00
Walter Bright
953f133539 2009-01-03 00:58:17 +00:00
Walter Bright
445350f2df fixed problems with typeof(type) 2008-07-02 21:08:32 +00:00
Andrei Alexandrescu
399fa21dea Added mostNegative, mostly to assuage for the impardonable mistake of inheriting C++'s impardonable mistake of defining "min" to mean very different things for floating-point types and integral types. 2008-03-06 20:20:47 +00:00
Andrei Alexandrescu
29f3cc23f7 std.math: minor change in approxEqual.
std.contracts: added functions pointsTo()

std.numeric: minor unittest fixes.

std.bitmanip: fixed code bloat issue, reintroduced FloatRep and DoubleRep.

std.conv: minor simplification of implementation.

std.regexp: added reference to ECMA standard in the documentation.

std.getopt: changed return type from bool to void, error is signaled by use of exceptions.

std.functional: added unaryFun, binaryFun, adjoin.

std.string: updated documentation, changed code to compile with warnings enabled.

std.traits: changed FieldTypeTuple; added RepresentationTypeTuple, hasAliasing; fixed bug 1826; added call to flush() from within write; fixed unlisted bug in lines().

std.algorithm: added map, reduce, filter, inPlace, move, swap, overwriteAdjacent, find, findRange, findBoyerMoore, findAdjacent, findAmong, findAmongSorted, canFind, canFindAmong, canFindAmongSorted, count, equal, overlap, min, max, mismatch, EditOp, none, substitute, insert, remove, levenshteinDistance, levenshteinDistanceAndPath, copy, copyIf, iterSwap, swapRanges, reverse, rotate, SwapStrategy, Unstable, Semistable, Stable, eliminate, partition, nthElement, sort, schwartzSort, partialSort, isSorted, makeIndex, schwartzMakeIndex, lowerBound, upperBound, equalRange, canFindSorted.

std.thread: fixed so it compiles with warnings enabled.

std.file: made getSize() faster under Linux.

std.random: fixed so it compiles with warnings enabled; improved function uniform so it deduces type generated from its arguments.

std.format: added fixes to make formatting work with const data.

std.path: minor documentation changes.
2008-02-19 07:00:56 +00:00
Walter Bright
b2a37b2833 updates for new const regime 2007-12-21 00:01:31 +00:00
Brad Roberts
83bde3fc89 Manually cleanup remaining differences between candidate and trunk. std/variant.d is the only file with differences remaining. 2007-11-27 21:10:16 +00:00
Brad Roberts
09916d399a Initial merge of candidate to trunk for r459:513 2007-11-27 20:28:40 +00:00
Walter Bright
e1c6c25fc8 supported functors with ReturnType 2007-10-24 04:47:58 +00:00
Walter Bright
7266d1d904 improve isStaticArray 2007-10-21 08:15:28 +00:00
Andrei Alexandrescu
ad73ee84d5 Bunch o' bugfixes 2007-10-15 21:14:09 +00:00
Brad Roberts
26c6571ff5 merge r404:415 from candidate to trunk 2007-10-15 05:57:34 +00:00
Brad Roberts
eec6be69ed Merge r297:387 from candidate to trunk.
-- add std.getopt
  -- add std.variant
  -- switch strings over to be invariant rather than const
  -- hopefully the last big linux makefile overhaul
  -- fix for bug 1579: write[ln] fails for obj.toString()
  -- fix negative precision handling in std.format
  -- add some file and directory iterator helpers
  -- among other little changes here and there...
2007-10-14 09:22:50 +00:00
Brad Roberts
76dac5da92 phobos 0.176 2007-09-10 05:36:13 +00:00
Brad Roberts
00fe9a970d phobos 0.175 2007-09-10 05:35:36 +00:00
Brad Roberts
e001ab7bfe phobos 0.174 2007-09-10 05:34:58 +00:00