Does immutable(char)[] have any advantage over const(char)[] for function parameters?
Trass3r
mrmocool at gmx.de
Tue Jul 28 09:40:43 PDT 2009
I currently almost always use const(char)[] for function parameters to
make it possible to also pass char[] strings to the function.
Are there any disadvantages like optimization issues?
More information about the Digitalmars-d-learn
mailing list