std.stream.Stream.read([...]) matches both

Nrgyzer iDont at knowMyMail.com
Mon Jan 16 11:39:38 PST 2012


Hi,

I used Stream.read(out float) to read bytes of my stream. It worked for 2.056,
but when I try to compile my code using 2.057 I get the following message:

((shared(float)))
matches both:
	std.stream.Stream.read(out float x)
and:
	std.stream.Stream.read(out real x)

Because of threading the value must be shared... but how can I solve the double
matching of the methods?

Thanks in advance!


More information about the Digitalmars-d-learn mailing list