private
{
- debug(adi) import stdc.stdio;
- import stdc.string;
- import stdc.stdlib;
+ debug(adi) import core.stdc.stdio;
+ import core.stdc.string;
+ import core.stdc.stdlib;
import util.utf;
enum BlkAttr : uint
unittest
{
- auto a = "abcd"c;
+ auto a = "abcd"c[];
auto r = a.dup.reverse;
//writefln(r);
unittest
{
wstring a = "abcd";
- wstring r;
- r = a.dup.reverse;
+ auto r = a.dup.reverse;
assert(r == "dcba");
a = "a\U00012356\U00012346c";
{
if (a.length > 1)
{
- dchar[] da = toUTF32(a);
+ dstring da = toUTF32(a);
da.sort;
size_t i = 0;
foreach (dchar d; da)
{
if (a.length > 1)
{
- dchar[] da = toUTF32(a);
+ dstring da = toUTF32(a);
da.sort;
size_t i = 0;
foreach (dchar d; da)