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.006

Download D 2.006
released Oct 16, 2007

#### New/Changed Features

- Transformed all of string, wstring, and dstring into invariant definitions. Tons of changes in function signatures and implementations rippled through the standard library. Initial experience with invariant strings seems to be highly encouraging.
- Implemented Overload Sets for functions and templates.
- Added the std.getopt module that makes standards-conforming command-line processing easy.
- Added the parse and assumeUnique to the std.conv module.
- Added the dirEntries function to the std.file module.
- Added the basename and dirname functions (which alias the less gainful names getBaseName and getDirectoryName to the std.path module.)
- Added optional terminator to readln; added the convenience functions fopen and popen; added functions lines and chunks; all to the std.stdio module.
- Added the munch function to the std.string module.
- Fixed isStaticArray; added BaseClassesTuple, TransitiveBaseTypeTuple, ImplicitConversionTargets, isIntegral, isFloatingPoint, isNumeric, isSomeString, isAssociativeArray, isDynamicArray, isArray; all to the std.traits module.
- Added the std.variant module.
- Incorporated many of the Tango GC structural differences (much more to go still).
- Added the std.contracts module.
- Breaking change: std.stdio.writef can now only accept a format as its first argument.

#### Bugs Fixed

- Bugzilla 1478: Avoid libc network api threadsafety issues
- Bugzilla 1491: Suppress SIGPIPE when sending to a dead socket
- Bugzilla 1562: Deduction of template alias parameter fails
- Bugzilla 1571: Const on function parameters not carried through to .di file
- Bugzilla 1575: Cannot do assignment of tuples
- Bugzilla 1579: write[ln] fails for obj.toString()
- Bugzilla 1580: Concatenating invariant based strings should work

Copyright © 1999-2023 by the D Language Foundation | Page generated by Ddoc on Fri Jun 2 08:59:51 2023