Compile-time sets and hash tables

Andrej Mitrovic andrej.mitrovich at gmail.com
Thu Nov 14 12:31:59 PST 2013


On 11/14/13, Philippe Sigaud <philippe.sigaud at gmail.com> wrote:
 - I'd greatly like for those sets or hash tables to be
> CTFE-compatible.

Well if it's only used in CTFE, I'd imagine a simple struct wrapping
an array and doing "!canFind" when adding elements would do the job,
no?


More information about the Digitalmars-d-learn mailing list