GString.this

Undocumented in source.
  1. this(StringT str)
  2. this(R str)
    struct GString(CharT)
    this
    (
    R
    )
    (
    R str
    )
    if (
    isSomeString!R
    )
    if (
    isSomeChar!CharT
    )

Examples

import std.string : capitalize;
auto t1 = typeof(this)("test");
assert(capitalize(t1) == "Test");

Meta