DIP 1027--String Interpolation--Final Review Discussion Thread
Adam D. Ruppe
destructionator at gmail.com
Fri Feb 7 13:37:15 UTC 2020
On Friday, 7 February 2020 at 08:45:03 UTC, Walter Bright wrote:
> What is the tuple generated for:
read my document here:
https://gist.github.com/adamdruppe/a58f097d974b364ae1cbc8c050dd9a3f
> i"your hex data is ${%02x}someByte"
(_d_interpolated_string!("your hex data is ",
_d_interpolated_format_spec("%02x"))(), someByte)
Note that is a tuple consisting of two members, one of which is a
single template instantiation given two value arguments.
More information about the Digitalmars-d
mailing list