container.Set: Support customizable hasher

This commit is contained in:
2018-04-28 17:49:49 +02:00
parent 55c36d22a0
commit 8733b93ca0
3 changed files with 122 additions and 155 deletions

View File

@@ -24,6 +24,7 @@ public import tanya.container.string;
* Thrown if $(D_PSYMBOL Set) cannot insert a new element because the container
* is full.
*/
deprecated
class HashContainerFullException : Exception
{
/**
@@ -36,7 +37,7 @@ class HashContainerFullException : Exception
this(string msg,
string file = __FILE__,
size_t line = __LINE__,
Throwable next = null) @nogc @safe pure nothrow
Throwable next = null) @nogc nothrow pure @safe
{
super(msg, file, line, next);
}