
8 Mar
2005
8 Mar
'05
5:32 p.m.
Gennadiy Rozental wrote:
I believe this version is much less intuitive. optional<T> v is still value of type T which may or may not be present. Accordingly when we print it we print the value if it present or print nothing if it not.
This isn't very useful. The output cannot be read back, and when printing a sequence of optionals much of the information is lost.