3 ms·
String literals are one place where the compiler implements the null-termination, so it is built-in in that sense. As per the OP’s example, a wrapper macro lik
by __d 2y ago
String literals are one place where the compiler implements the null-termination, so it is built-in in that sense.
As per the OP’s example, a wrapper macro like their STR can work around this.
- Quis_sum 2y agoI don't have an issue with the OP's example, which is quite nifty indeed, despite the penalties incurred.