const and immutable values, D vs C++?

Ola Fosheim Grøstad ola.fosheim.grostad at gmail.com
Wed Dec 4 14:53:11 UTC 2019


Also, in file scope, would C++:

constexpr auto constant = 3;

be the same as:

immutable constant = 3;

?


More information about the Digitalmars-d-learn mailing list