[Issue 2072] std.typeconv documentation anomaly

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun May 11 17:25:37 PDT 2008


http://d.puremagic.com/issues/show_bug.cgi?id=2072


andrei at metalanguage.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED




------- Comment #1 from andrei at metalanguage.com  2008-05-11 19:25 -------
(In reply to comment #0)
> the example supplied for "fromString(...)" is incorrect:
> 
> Abc fromString(string s) { ... }
> 
> Should be:
> 
> bool fromString(string s, ref Abc) { ... }
> 
> "throws an exception in any other case" is incorrect.
> Maybe someone forgot to add an overload case?
> 
> There is no documentation for
> template Rebindable(T : Object)

I've noticed there are ambiguity issues with toString so I renamed the two
functions into bool enumFromString(string, enum) and string enumToString(enum).
I fixed the documentation too.

I've added opDot to Rebindable and put some documentation for the thing up.
Starting with the next release we'll have a functioning rebindable reference!


-- 



More information about the Digitalmars-d-bugs mailing list