aboutsummaryrefslogtreecommitdiff
path: root/libphobos/src/std/utf.d
diff options
context:
space:
mode:
authorIain Buclaw <ibuclaw@gcc.gnu.org>2019-01-09 23:04:20 +0000
committerIain Buclaw <ibuclaw@gcc.gnu.org>2019-01-09 23:04:20 +0000
commit9fa27ed0884b23d37f2f0b7ee2edd427664aa557 (patch)
treefebf873c1ebf0aa58a9bc85d097f4c2f68a83005 /libphobos/src/std/utf.d
parent9ed7e53d8e38694d76de50be2abaa42aa0ca92cd (diff)
downloadgcc-9fa27ed0884b23d37f2f0b7ee2edd427664aa557.zip
gcc-9fa27ed0884b23d37f2f0b7ee2edd427664aa557.tar.gz
gcc-9fa27ed0884b23d37f2f0b7ee2edd427664aa557.tar.bz2
libphobos: Merge phobos upstream b022e552a
This removes updates the removal date of all deprecations in phobos. Many of the marked functions have passed their end dates, and are now absent in upstream. Reviewed-on: https://github.com/dlang/phobos/pull/6828 From-SVN: r267788
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.