[Issue 5233] [patch] std.range.put accepts *any* element type when putting to an array.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Apr 2 22:29:44 PDT 2011


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



--- Comment #6 from Rob Jacques <sandford at jhu.edu> 2011-04-02 22:26:10 PDT ---
prefered -> preferred

/** Outputs $(D e) to $(D r). The exact effect is dependent upon the two types.
    Several cases are accepted, as described below. The code snippets are
    attempted in order, and the first to compile "wins" and gets evaluated.
    Setting $(D asArray) to true will skip code snippets using user defined
    $(D put) and $(D opCall) methods, allowing templated user defined $(D put)
    methods to reuse some of $(D put)'s code snippets. Furthermore, $(D ER)
    allows the caller to set a preferred conversion type, enabling put to
    perform the correct UTF conversions for character and string inputs.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list