Assigns another string.
If that is passed by value, it won't be copied, but moved. This string will take the ownership over that's storage and the allocator.
If that is passed by reference, it will be copied.
Content type.
The value should be assigned.
$(D_KEYWORD this).
auto s = String("Черная, потом пропахшая выть!"); s = String("Как мне тебя не ласкать, не любить?");
See Implementation
Assigns another string.
If that is passed by value, it won't be copied, but moved. This string will take the ownership over that's storage and the allocator.
If that is passed by reference, it will be copied.