[Issue 7518] std.array.empty doesn't work for shared arrays
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Feb 16 07:18:28 PST 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7518
David Simcha <dsimcha at yahoo.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dsimcha at yahoo.com
Summary|Regression(2.058): |std.array.empty doesn't
|std.parallelism.parallel |work for shared arrays
|fails with shared array of |
|strings |
--- Comment #1 from David Simcha <dsimcha at yahoo.com> 2012-02-16 07:18:28 PST ---
The root cause has nothing to do with std.parallelism. empty() should work for
shared arrays.
import std.array;
void main() {
shared string[] stuff;
stuff.empty;
}
test.d(5): Error: template std.array.empty(T) does not match any function
template declaration
test.d(5): Error: template std.array.empty(T) cannot deduce template function
from argument types !()(shared(immutable(char)[][]))
--
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