[Issue 3881] Structs as template arguments

2014-10-02 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=3881

Kenji Hara  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |DUPLICATE

--- Comment #3 from Kenji Hara  ---
Fixed in 2.066.

*** This issue has been marked as a duplicate of issue 8848 ***

--


[Issue 3881] Structs as template arguments

2010-07-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3881


Don  changed:

   What|Removed |Added

 CC||clugd...@yahoo.com.au


--- Comment #2 from Don  2010-07-30 01:43:27 PDT ---
This seems to be a request to allow structs as template value parameters.
That's a major feature request. I suspect (haven't checked) that the test case
is an unrelated compiler bug.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 3881] Structs as template arguments

2010-03-05 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3881



--- Comment #1 from bearophile_h...@eml.cc 2010-03-05 08:36:29 PST ---
Created an attachment (id=582)
A possible example

This attach shows a small program (that computes the N Queens at compile time)
that I think may show the consequence of not being able to pass a struct to a
template. I am not sure that's the cause.

At the top of the program there is a constant named 'Bug', that is currently
false. If you set it to true the program prints the wrong value 0 instead of
92.

If the cause of the problem is not the alias of the Mark template, then I think
it can be a compiler bug (or maybe just a bug of the code that I don't
understand).

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---