Is there a way to make a function parameter accept only values that can be checked at compile time?

rempas rempas at tutanota.com
Wed Dec 29 15:53:38 UTC 2021


On Wednesday, 29 December 2021 at 11:09:04 UTC, max haughton 
wrote:
> If the value is known at compile time the compiler can pretty 
> easily do that for you unless you're really unlucky.

How is this even possible?


More information about the Digitalmars-d-learn mailing list