[Issue 8284] New: [std.container] can't define Array!T, if T is Tuple!(size_t, size_t)
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Jun 22 08:44:56 PDT 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8284
Summary: [std.container] can't define Array!T, if T is
Tuple!(size_t, size_t)
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Phobos
AssignedTo: nobody at puremagic.com
ReportedBy: tobias at pankrath.net
--- Comment #0 from Tobias Pankrath <tobias at pankrath.net> 2012-06-22 08:47:21 PDT ---
alias Tuple!(size_t, size_t) Pair;
void main()
{
Array!Pair arr;
}
/usr/include/d/std/container.d(1653): Error: cannot compare
const(Tuple!(ulong,ulong)[]) and const(Tuple!(ulong,ulong)[])
bug.d(12): Error: template instance std.container.Array!(Tuple!(ulong,ulong))
error instantiating
--
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