www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - std.stream.Stream.read([...]) matches both


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:

matches both:
	std.stream.Stream.read(out float x)
	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!
Jan 16 2012