First D project, problem with error messages
Walter Bright
newshound2 at digitalmars.com
Sat Feb 11 05:28:11 UTC 2023
On 2/9/2023 11:42 AM, Steven Schveighoffer wrote:
> Having no
> parameters has limited use, mostly to allow it to be a mixin template, or to
> prevent it from being included in the binary unless it's used.
Adding () to functions turns them into templates, which can be be advantageous
if you want the compiler to infer the return/scope attributes automatically.
More information about the Digitalmars-d
mailing list