On 8/26/10 13:05 PDT, Mathias Laurenz Baumann wrote:
Well, topic says it all. Why is the string parameter for the Exception
class in object.di an immutable(char[])?

A const(char[]) works for both, immutable(char[]) types and char[]
types. why this limitation?


--Marenz

The string is stored inside the Exception object. If it's immutable then there's a guarantee it will last forever.

Andrei

Reply via email to