On Tuesday, 7 September 2021 at 04:40:25 UTC, jfondren wrote:

    typeof(parseXML!simpleXML("")) xml;

Hey, I like this trick!

I was wondering what to use for the const(char)[] variable in the typeof statement. It's blindingly obvious in retrospect. Wouldn't work so well if there wasn't a literal for the input data range type.

Sorry, didn't see your response before I posted mine, but thanks for the tip anyway :)

Reply via email to