[Issue 5909] Allow implicit conversion of hex strings to immutable(ubyte)[] and immutable(ubyte[N]) or turn them into ubyte array literals
https://issues.dlang.org/show_bug.cgi?id=5909 Steven Schveighoffer changed: What|Removed |Added Status|NEW |RESOLVED CC||schvei...@yahoo.com Resolution|--- |WONTFIX --- Comment #5 from Steven Schveighoffer --- hex strings are deprecated. --
[Issue 5909] Allow implicit conversion of hex strings to immutable(ubyte)[] and immutable(ubyte[N]) or turn them into ubyte array literals
https://issues.dlang.org/show_bug.cgi?id=5909 Shachar Shemeshchanged: What|Removed |Added CC||shac...@shemesh.biz --
[Issue 5909] Allow implicit conversion of hex strings to immutable(ubyte)[] and immutable(ubyte[N]) or turn them into ubyte array literals
https://issues.dlang.org/show_bug.cgi?id=5909 Marc Schütz schue...@gmx.net changed: What|Removed |Added CC||schue...@gmx.net --
[Issue 5909] Allow implicit conversion of hex strings to immutable(ubyte)[] and immutable(ubyte[N]) or turn them into ubyte array literals
https://issues.dlang.org/show_bug.cgi?id=5909 bearophile_h...@eml.cc changed: What|Removed |Added Summary|Allow implicit conversion |Allow implicit conversion |of hex strings to |of hex strings to |immutable(ubyte)[] and |immutable(ubyte)[] and |immutable(ubyte[N]) |immutable(ubyte[N]) or turn ||them into ubyte array ||literals --
[Issue 5909] Allow implicit conversion of hex strings to immutable(ubyte)[] and immutable(ubyte[N])
https://issues.dlang.org/show_bug.cgi?id=5909 --- Comment #4 from bearophile_h...@eml.cc --- If implicit conversions are not appreciated, then an alternative solution is to consider hex strings as ubyte array literals: pragma(msg, typeof(x1a b2)); == immutable(ubyte)[] This avoids implicit conversions. In 99% of the cases you don't want that literal to produce a string, so this is useful. --
[Issue 5909] Allow implicit conversion of hex strings to immutable(ubyte)[] and immutable(ubyte[N])
https://d.puremagic.com/issues/show_bug.cgi?id=5909 bearophile_h...@eml.cc changed: What|Removed |Added Summary|Allow implicit conversion |Allow implicit conversion |of string literal (in |of hex strings to |particular x) to |immutable(ubyte)[] and |immutable(ubyte)[] |immutable(ubyte[N]) --- Comment #3 from bearophile_h...@eml.cc 2014-01-22 16:45:50 PST --- Fixed the issue title. See also Issue 10454 -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---