Implement own dispose

This commit is contained in:
2016-12-07 11:01:51 +01:00
parent f75433e0e6
commit c8e6d44f7b
2 changed files with 128 additions and 3 deletions

View File

@ -898,7 +898,10 @@ struct Integer
}
/**
* Casting to boolean.
* Casting.
*
* Params:
* T = Target type.
*
* Returns: $(D_KEYWORD false) if the $(D_PSYMBOL Integer) is 0,
* $(D_KEYWORD true) otherwise.
@ -911,7 +914,10 @@ struct Integer
/**
* Casting to integer types.
*
* Returns: Integer type.
* Params:
* T = Target type.
*
* Returns: Signed integer.
*/
T opCast(T : long)() const// pure nothrow @safe @nogc
{