Change Log: 2.011 - D Programming Language
Description: D Programming Language
Keywords: D programming language

Menu

- Learn
- Documentation
  - Language Reference
  - Library Reference
  - Command-line Reference
  - Feature Overview
  - Articles
- Downloads
- Packages
- Community
  - Blog
  - Orgs using D
  - Twitter
  - Forums
  - IRC
  - Community Discord
  - Wiki
  - GitHub
  - Issues
  - Get involved
  - Contributors
  - Foundation
  - Security Team
  - Donate
  - Sponsors
- Resources
  - Tour
  - Books
  - Tutorials
  - Tools
  - Editors
  - IDEs
  - run.dlang.io
  - Visual D
  - Acknowledgments
  - D Style
  - Glossary
  - Sitemap

Search
Report a bug
If you spot a problem with this page, click here to create a Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page. Requires a signed-in GitHub account. This works well for small changes. If you'd like to make larger changes you may want to consider using a local clone.

# Change Log: 2.011

Download D 2.011
released Feb 18, 2008

#### New/Changed Features

- std.typecons: fixed code bloat issue; added Tuple.toString; added function tuple(); fixed unlisted bug in enumValuesImpl.
- std.process: added function shell().
- 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.
- Added std.xml
- Added std.complex
- Added std.iterator
- Added std.c.linux.tipc
- Added std.c.linux.termios
- Added nothrow keyword
- Re-enabled auto interfaces.
- Now allow static arrays to be lvalues.
- Now allows implicit casting of null to/from const/invariant.
- Now allows implicit casting of StructLiterals if each of its arguments can be implicitly cast.
- Now allows implicit casting of structs to/from const/invariant if each of its fields can be.
- Added pragma startaddress.
- .tupleof can now access private fields of a struct/class
- Enhancement Bugzilla 493: Partial IFTI does not work

#### Bugs Fixed

- Fixed D/66406 Remaining const niggles #1 - Custom POD types
- Fixed display of ddoc template parameters that were aliased
- Fixed bug in std.file.readln() for Windows in translated mode
- Bugzilla 1072: CTFE: crash on for loop with blank increment
- Bugzilla 1435: DDoc: Don't apply DDOC_PSYMBOL everywhere
- Bugzilla 1815: foreach with interval does not increment pointers correctly
- Bugzilla 1825: local instantiation and function nesting
- Bugzilla 1837: Make dmd stop flooding the console: prints content of passed parameter file
- Bugzilla 1842: Useless linker command line output during compilation on Linux

Copyright © 1999-2023 by the D Language Foundation | Page generated by Ddoc on Sat Apr 1 13:10:01 2023