Is there an opposite of .toString()?

Fra Mecca me at francescomecca.eu
Sat Oct 14 02:16:12 UTC 2017


On Saturday, 14 October 2017 at 00:18:35 UTC, myst wrote:
> I'm sorry if this has been answered already, it seems like a 
> very basic question.
>
> There is .toString() method convention for printing, but I can 
> not find anything alike for reading. Is there something like 
> operator>>() in C++? What's an ideomatic way of reading an 
> object?

Can you make an example of "reading from object"? Or better some 
snippet of a c++ code that does what you mean


More information about the Digitalmars-d-learn mailing list