dstruct 0.2.2

D Data Structures


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

dub.json
dub.sdl

dstruct

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.
Authors:
w0rp
Dependencies:
none
Versions:
0.2.2 2015-Apr-06
0.2.1 2015-Apr-05
0.2.0 2015-Apr-03
0.1.0 2015-Mar-29
~master 2015-Apr-27
Show all 5 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 5 downloads this month

  • 161 downloads total