FirstName

Class to provide number -> name translation

This class is useful for when you want to display a lot of numbers that don't have an immediate meaning for a person (pointers, hashes, etc) but where it still is helpful or important to easily see whether a number is different from the other.

Usage Example:

import ocean.io.digest.FirstName;

MyClass myArray[] = ... ;


foreach ( c; myArray )
{
    Stdout.formatln("{}.property = {}", FirstName(cast(void*) c), c.property);
}
static
class FirstName {}

Members

Static functions

opCall
istring opCall(T value)

Function to map an abitrary integer to a string for easier distinction

Meta