On Monday, February 24, 2025 9:07:07 AM MST Ian via Digitalmars-d-learn wrote:
> Hello,
>
> What's the recommended D way to declare a string constant? Say,
> for example, for a path used inside a class constructor? I've
> seen const string, immutable, enum etc...
>
> Is this the place for these kin
On Monday, February 24, 2025 11:19:48 AM MST Elias Batek (0xEAB) via
Digitalmars-d-learn wrote:
> For string constants you’ll usually want to mark them as `static
> immutable`. Strings with this combination will usually be put
> into read-only sections (ROM) of the resulting binaries.
>
> Unlike `
On Monday, 24 February 2025 at 16:07:07 UTC, Ian wrote:
Hello,
What's the recommended D way to declare a string constant? Say,
for example, for a path used inside a class constructor? I've
seen const string, immutable, enum etc...
Is this the place for these kinds of questions? Is there a D
On Monday, 24 February 2025 at 16:07:07 UTC, Ian wrote:
Hello,
What's the recommended D way to declare a string constant? Say,
for example, for a path used inside a class constructor? I've
seen const string, immutable, enum etc...
enum vs value is a tradeoff of when a decision is made; not s
Hello,
What's the recommended D way to declare a string constant? Say,
for example, for a path used inside a class constructor? I've
seen const string, immutable, enum etc...
Is this the place for these kinds of questions? Is there a D
stack overflow?
Cheers,
Ian
Sweet!
Hi,
Is setjmp/longjmp supported under windows?
Regards,
zz