diff --git a/std/conv.d b/std/conv.d index 3aaaa294fa3..19b04dd0bd8 100644 --- a/std/conv.d +++ b/std/conv.d @@ -5900,6 +5900,8 @@ auto toChars(ubyte radix = 10, Char = char, LetterCase letterCase = LetterCase.l @property size_t length() { return upr - lwr; } + alias opDollar = length; + @property bool empty() { return upr == lwr; } @property Char front() { return buf[lwr]; }