BasicString.build

Static function which return BasicString construct from arguments args.

  1. typeof(this) build(Args args)
  2. typeof(this) build(AllocatorType allocator, Args args)
    struct BasicString
    static
    typeof(this)
    build
    (
    Args...
    )
    (,
    scope auto ref const Args args
    )

Examples

BasicString!char str = BasicString!char.build('1', cast(dchar)'2', "345"d, BasicString!wchar("678"));

assert(str == "12345678");

Meta