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


Peter Alexander <peter.alexander...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |peter.alexander...@gmail.co
                   |                            |m


--- Comment #2 from Peter Alexander <peter.alexander...@gmail.com> 2013-02-24 
08:08:11 PST ---
This is by design. map expects an input range. Static arrays are not input
ranges. You have to take a slice.

auto ms = map!"a*a"(smt[]); // note additional []

reduce only requires an iterable, which includes static arrays.

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

Reply via email to