D Data Structures

Package Information

Version0.2.2 (2015-Apr-06)
LicenseBSD 2-clause
CopyrightCopyright © 2015, w0rp
Registered byw0rp
Dependencies none


To use this package, put the following dependency into your project's dependencies section:




This library offers a variety of data structures and operations on those data structures in D.

Quick Start

Check out the code somewhere and you can use it as a DUB package. Everything in the library is some form of template, so this is a source library and doesn't need to be built itself.

Data Structures in This Library

Design Philosophy

This library is designed with the following philosophy.

  • Everything should be as `@safe and pure` as possible, to make it easier to write pure functions which are safe.
  • Exceptions should only be thrown when not doing so would be unsafe.
  • Any function which doesn't throw should be marked `nothrow`.
  • As much as possible, you should be able to reference memory in a safe manner instead of having to copy it, to cut down on allocation.
  • If memory is going to be allocated, it should be done as little as possible, and when it happens it should probably be allocated on the garbage collected heap.

Available versions

0.2.2 0.2.1 0.2.0 0.1.0 ~master