rcstring 0.0.6

Reference Countered string


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

dub.json
dub.sdl

RCString a reference counted string

The module rcstring provides everything necessary to replace D's build-in strings with a reference counted version. It should be as easy as replacing all occurrences of the keyword string with String.

Additional, to String there are WString and DString defined in this module.

String str = "Hello World";
assert(str.front == "H");
assert(str.back == "d");

auto slice = str[1 .. 5];
assert(slice == "ello");

slice.popFront();
assert(slice == "llo");

Authors:
Robert burner Schadek
Dependencies:
none
Versions:
0.0.6 2016-Sep-29
0.0.5 2016-Apr-28
0.0.4 2016-Apr-28
0.0.3 2016-Apr-28
0.0.2 2016-Mar-22
Show all 7 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 0 downloads this month

  • 94 downloads total