I cannot understand problem with argument of the function
monarch_dodra
monarchdodra at gmail.com
Wed Sep 18 01:25:01 PDT 2013
On Wednesday, 18 September 2013 at 04:17:41 UTC, mrd wrote:
> (question is not about function body realisation - body just
> don't receives right argument value)
Looks like data corruption. Can't help you much without a full
piece of code that *reproduces* the issue (reducing it helps too).
For what it's worth, your "weird" value, it appears to be a
bitmask:
18446744073709551615
0x1999999999999999
0001_1001 1001_1001 1001_1001 1001_1001 1001_1001 1001_1001
1001_1001 1001_1001
This is usually tell tale invalid memory reads and/or stack
corruption.
TIP: Try marking your function @safe, if possible. It will limit
the amount of unsafe things you can do, or at least, point you to
the unsafe things that could be the source of the problem.
More information about the Digitalmars-d-learn
mailing list