Phobos examples and auto

David Nadlinger see at klickverbot.at
Sat Nov 5 12:14:02 PDT 2011


On 11/5/11 7:01 PM, Dejan Lekic wrote:
> Steve, I agree 100%. Documentation should not have 'auto' unless it
> documents the 'auto' itself.

I generally agree, in that auto should be used judiciously in the docs, 
but the concerns imho only apply to cases where the type is not obvious 
anyway – for example, I think auto should still be used when 
initializing the variable with the result of a new expression.

David


More information about the Digitalmars-d mailing list