On Monday, 10 August 2015 at 08:48:52 UTC, Martin Nowak wrote:
See the changelog for more details. http://dlang.org/changelog.html#2.068.0

Something that's not obvious about phobos `hexString` CT template, it's not reflected in the DDOC, but it works with the `import` expression, and i think it was the primary goal, for example if you have an hex dump that's likely to represent some ASCII chars, in a file named file.txt:

---
import std.conv;
writeln( hexString!(import("file.txt")));
---

Coedit users can use this easily because the folder of a runnable module is always added to the string import path (-J). For example they just have to put the dump files into the folder where stand the script...et voilĂ  "compile file & run" works directly without error about the import() folder.

Reply via email to