On Friday, 30 December 2022 at 11:05:07 UTC, matheus wrote:
Are you sure about that?
Thank you for your answer. You contributed to the project I was working on. In this case, std.conv.to can be used for mutable dchars, right? For example, is this solution the right approach?
```d
auto toDchar(S)(inout S str) {
import std.conv : to;
return str.to!(dchar[]);
}
void main() {
auto str3 = "ÜÇ ON "d;
auto str4 = "BİR İKİ BEŞ "d.dup;
auto str5 = "DÖRT ALTI YEDİ ".toDchar;
//str5.fun(5);
}
```
SDB@79
