fixedstring: a @safe, @nogc string type

jmh530 john.michael.hall at gmail.com
Mon Jan 10 13:12:13 UTC 2022


On Monday, 10 January 2022 at 12:55:28 UTC, Moth wrote:
> hi all.
>
> i got fed up with the built-in string type having so many 
> features unavailable in `@nogc` code, so i made my own.
>
> introducing fixedstring: a templated fixed-length array of 
> `char`s, compatible with `@safe`, `@nogc`, and `nothrow` code.
>
> licenced under the AGPL-3.0 or later, but i'm open to 
> relicensing if someone really really wants it.
>
> have fun =]
>
> https://github.com/Moth-Tolias/fixedstring
>
> [snip]

You might add some examples to the Readme.md


More information about the Digitalmars-d-announce mailing list