Regarding the proposed Binray Literals Deprecation
IGotD-
nise at nise.com
Sat Sep 10 22:18:38 UTC 2022
On Saturday, 10 September 2022 at 21:57:51 UTC, Timon Gehr wrote:
>
> D has templates with string arguments. I am pretty sure that
> even if C++ had templates with string arguments, they still
> would have added user-defined literals.
C++ has user defined literals since C++11. Typically something
that ends with "_myliteral", for example 300_km. Both string and
value literals are supported.
More information about the Digitalmars-d
mailing list