aboutsummaryrefslogtreecommitdiff
path: root/libphobos/src/std/utf.d
diff options
context:
space:
mode:
Diffstat (limited to 'libphobos/src/std/utf.d')
-rw-r--r--libphobos/src/std/utf.d16
1 files changed, 0 insertions, 16 deletions
diff --git a/libphobos/src/std/utf.d b/libphobos/src/std/utf.d
index 63ae736..beb4d8f 100644
--- a/libphobos/src/std/utf.d
+++ b/libphobos/src/std/utf.d
@@ -2699,14 +2699,6 @@ if (isSomeString!S)
}());
}
-//@@@DEPRECATED_2017-10@@@
-deprecated("To be removed November 2017. Please use std.utf.encode instead.")
-char[] toUTF8(return out char[4] buf, dchar c) nothrow @nogc @safe pure
-{
- const sz = encode!(Yes.useReplacementDchar)(buf, c);
- return buf[0 .. sz];
-}
-
/**
* Encodes the elements of `s` to UTF-8 and returns a newly allocated
* string of the elements.
@@ -2748,14 +2740,6 @@ if (isInputRange!S && !isInfinite!S && isSomeChar!(ElementEncodingType!S))
assert(r2.toUTF8.equal([0xF0, 0x90, 0x90, 0xB7]));
}
-//@@@DEPRECATED_2017-10@@@
-deprecated("To be removed November 2017. Please use std.utf.encode instead.")
-wchar[] toUTF16(return ref wchar[2] buf, dchar c) nothrow @nogc @safe pure
-{
- const sz = encode!(Yes.useReplacementDchar)(buf, c);
- return buf[0 .. sz];
-}
-
/**
* Encodes the elements of `s` to UTF-16 and returns a newly GC allocated
* `wstring` of the elements.