[Issue 5686] class template error

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Mar 3 06:39:05 PST 2011


http://d.puremagic.com/issues/show_bug.cgi?id=5686


Steven Schveighoffer <schveiguy at yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |schveiguy at yahoo.com


--- Comment #3 from Steven Schveighoffer <schveiguy at yahoo.com> 2011-03-03 06:36:13 PST ---
(In reply to comment #2)
> In the static assert line (line 8), __LINE__ should be 8, and line should be 7,
> since the previous line contains the declaration of line.

Wow, that was confusing :)  Let's call the template parameter lineno.  I'll try
again:

In the static assert line (line 8), __LINE__ should be 8, and lineno should be
7,
since the previous line contains the declaration of lineno.

-- 
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