LinkedList and Deque API in DCollections

d coder dlang.coder at gmail.com
Thu Jun 21 07:24:57 PDT 2012


>
>
> Did you try : list.insert(list.begin, value);
>

Thanks. But I believe append and prepend are too common use-cases to be
ignored.

Also, I see that "assert(some-expression)" has been used at a lot of places
in the code of the libraries. Since these libraries are built with -release
option, should these assert statements not be replaced by "enforce"?

Regards
- Puneet
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20120621/833e5650/attachment.html>


More information about the Digitalmars-d mailing list