float price; if (price == float.nan) { // initialized } else { // uninitialized } ... valid ?
someone
someone at somewhere.com
Wed Jun 30 16:16:58 UTC 2021
On Wednesday, 30 June 2021 at 09:36:34 UTC, Dennis wrote:
> A `string` is not a class but an array, an `immutable(char)[]`.
You're right. My fault.
More information about the Digitalmars-d-learn
mailing list