How to convert Map to array?
Guilherme Vieira
n2.nitrogen at gmail.com
Mon Jan 10 14:20:08 PST 2011
It's easier to help if you provide sample code that produces the message. I
got that message today and fixed it, I just don't what was the problem.
--
Atenciosamente / Sincerely,
Guilherme ("n2liquid") Vieira
On Mon, Jan 10, 2011 at 1:25 AM, Sean Eskapp <eatingstaples at gmail.com>wrote:
> I'm trying to use the array() function in std.array to convert a
> transformed
> array using map (std.algorithm) back to a dynamic array, from a Map. I keep
> getting a cryptic error "object.Exception at C:\Program Files
> (x86)\D\dmd2\windows\bin\..\..\src\phobos\std\
> algorithm.d(426): Cannot reduce an empty range w/o an explicit seed
> value.".
> Am I misunderstanding how this is supposed to work?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20110110/f6486078/attachment.html>
More information about the Digitalmars-d
mailing list