On Monday, 16 October 2023 at 18:05:04 UTC, Paul wrote:
On Thursday, 12 October 2023 at 21:20:44 UTC, Jonathan M Davis wrote:
look like?

Types can have static members.

Basically what it comes down to is that outside of immutable data, pure functions only have access to their arguments and to what they can access via their arguments (be it by getting pointers from those arguments or calling other pure functions on them).

- Jonathan M Davis

Can I say in the general sense that when the word static is used it means that something is defined/declared at compile time?

This link should describe all the uses of `static`:
https://dlang.org/spec/attribute.html#static

Reply via email to