License
Distributed under the
Boost Software License 1.0. (See accompanying file LICENSE)
D header file for interaction with C++ std::string.
Boost Software License 1.0. (See accompanying file LICENSE)
(const(T)[] str, ref const(allocator_type) al) @nogc(const(T)[] str) @nogc(const ref basic_string str) @nogc(const(T)[] str, ref const(allocator_type) al) @nogc(const(T)[] str) @nogc(const(T)[] str, ref const(allocator_type) al) @nogc(const(T)[] str) @nogc() @nogc() @nogc() @nogcCharacter traits classes specify character properties and provide specific semantics for certain operations on characters and sequences of characters.
D language counterpart to C++ std::basic_string.
C++ reference: https://en.cppreference.com/w/cpp/string/basic_string
size_type npossize_t[2] opSlice(size_t dim : 0)(size_t start, size_t end) extern(D) @nogc const pure nothrow @safebool opEquals(scope const ref basic_string s) extern(D) @nogc const pure nothrow @safeTwo `basic_string`s are equal if they represent the same sequence of code units.int opCmp(scope const ref basic_string rhs) extern(D) @nogc const pure nothrow @safePerforms lexicographical comparison.size_t toHash() extern(D) @nogc const nothrow pure @safeHash to allow `basic_string`s to be used as keys for built-in associative arrays. *The result will generally not be the same as C++ `std::hash<std::basic_string<T>>`.*basic_string insert(size_type pos, ref const(basic_string) str, size_type subpos, size_type sublen) ref extern(D) @nogc @trustedbasic_string replace()(size_type pos, size_type len, auto ref basic_string str,
size_type subpos, size_type sublen = npos) ref extern(D) @nogcbasic_string replace(S : size_type)(S pos, size_type len, const(value_type) * s) ref extern(D) @nogcthis()MSVC allocates on default initialisation in debug, which can't be modelled by D `struct`Default = DefaultConstruct()Constructor argument for default construction