interface function member declarations needing parameter attributes ?
someone
someone at somewhere.com
Sat Jul 17 20:42:06 UTC 2021
```d
public interface intefaceWhatever {
public bool doSomething(
dstring lstrID,
classX robjX
);
}
```
vs
```d
public interface intefaceWhatever {
public bool doSomething(
const dstring lstrID,
ref classX robjX
);
}
```
From the interface perspective: are these signatures identical or
not ?
Is the latter needed ... or if not, makes sense as best practice ?
More information about the Digitalmars-d-learn
mailing list