On Monday, October 16, 2023 12:05:04 PM MDT Paul via Digitalmars-d-learn 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?
Re: dlang.org/spec/function.html#pure-functions example
Jonathan M Davis via Digitalmars-d-learn Sat, 21 Oct 2023 17:05:55 -0700
- Re: dlang.org/spec/function.html#... Jonathan M Davis via Digitalmars-d-learn
- Re: dlang.org/spec/function.... Nick Treleaven via Digitalmars-d-learn
- Re: dlang.org/spec/function.... Paul via Digitalmars-d-learn
- Re: dlang.org/spec/function.... Paul via Digitalmars-d-learn
- Re: dlang.org/spec/funct... Jonathan M Davis via Digitalmars-d-learn
- Re: dlang.org/spec/funct... Jonathan M Davis via Digitalmars-d-learn
- Re: dlang.org/spec/funct... Nick Treleaven via Digitalmars-d-learn