StringTable.lookup

Looks up the given string in the string table and returns its associated value.

  1. inout(StringValue!T)* lookup(const(char)[] str)
    struct StringTable(T)
    inout @nogc nothrow pure
    inout(StringValue!T)*
    lookup
    (
    const(char)[] str
    )
  2. inout(StringValue!T)* lookup(const(char)* s, size_t length)

Parameters

str const(char)[]

the string to look up

Return Value

Type: inout(StringValue!T)*

the string's associated value, or null if the string doesn't exist in the string table

Meta