digitalmars.D.bugs - [Issue 7490] New: std.array.array(std.bitmanip.BitArray) too
- d-bugmail puremagic.com (31/31) Feb 12 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7490
- d-bugmail puremagic.com (12/12) Apr 19 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7490
http://d.puremagic.com/issues/show_bug.cgi?id=7490 Summary: std.array.array(std.bitmanip.BitArray) too Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P2 Component: Phobos AssignedTo: nobody puremagic.com ReportedBy: bearophile_hugs eml.cc It seems std.array.array() is not able to convert a std.bitmanip.BitArray into a dynamic array: import std.array, std.bitmanip; void main() { BitArray ba; ba.length = 10; foreach (b; ba) {} // OK array(ba); // error } DMD 2.058beta: test.d(6): Error: template std.array.array(Range) if (isIterable!(Range) && !isNarrowString!(Range)) does not match any function template declaration test.d(6): Error: template std.array.array(Range) if (isIterable!(Range) && !isNarrowString!(Range)) cannot deduce template function from argument types !()(BitArray) -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 12 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7490 SomeDude <lovelydear mailmetrash.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lovelydear mailmetrash.com See Also| |http://d.puremagic.com/issu | |es/show_bug.cgi?id=7487 PDT --- See related 7487 and 7488 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Apr 19 2012