[Issue 5300] New: What type suffixes apply to with single argument template instances is undefined.
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Dec 1 05:47:19 PST 2010
http://d.puremagic.com/issues/show_bug.cgi?id=5300
Summary: What type suffixes apply to with single argument
template instances is undefined.
Product: D
Version: unspecified
Platform: Other
OS/Version: All
Status: NEW
Keywords: spec
Severity: normal
Priority: P2
Component: websites
AssignedTo: nobody at puremagic.com
ReportedBy: blood.of.life at gmail.com
--- Comment #0 from Bernard Helyer <blood.of.life at gmail.com> 2010-12-01 05:45:49 PST ---
struct Foo(T)
{
T i;
}
void main()
{
Foo!int* foo; // Is this a Foo!(int*), or a Foo!(int)*?
}
The above behaviour is undefined by the documentation. Testing with DMD reveals
that the latter behaviour indicated by the comment is correct.
--
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