Functions that accept const will work with almost anything you pass to it.
Re: Shall I use immutable or const while passing parameters to functions
Adam D. Ruppe via Digitalmars-d-learn Tue, 07 Apr 2015 08:36:22 -0700
If you're just looking at the data, use const. immutable becomes
more important if it is shared across threads or stored for later.
- Shall I use immutable or const while... tcak via Digitalmars-d-learn
- Re: Shall I use immutable or co... John Colvin via Digitalmars-d-learn
- Re: Shall I use immutable or co... Adam D. Ruppe via Digitalmars-d-learn
- Re: Shall I use immutable or co... bearophile via Digitalmars-d-learn
- Re: Shall I use immutable o... tcak via Digitalmars-d-learn
