Re:C++17’s Useful Features for Embedded Systems
by WalterBright on Tuesday May 30, 2023 @02:25PM
(#36128546)
D doesn't have a special syntax for user-defined literals, which avoids this problem completely. One can use templates for user-defined literals, such as:
for 1000 kilometers. Here, km is a template that takes an integer argument:
[ Parent
| on HN ]
There are no comments on this comment yet.