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


Steven Schveighoffer <schvei...@yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |schvei...@yahoo.com
         Resolution|                            |INVALID


--- Comment #1 from Steven Schveighoffer <schvei...@yahoo.com> 2010-03-15 
06:40:52 PDT ---
Inside a template, the symbol without the bang is equivalent to the template
instantiation being created.  In other words, it's not an error simply to use a
template inside itself without the bang.

example:

struct Foo(T)
{
   bool opEquals(ref const Foo f) const
   {
      assert(is(typeof(f) == const(Foo!T));
      return true;
   }
}

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

Reply via email to