Steven Schveighoffer <> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
                 CC|                            |
         Resolution|                            |INVALID

--- Comment #1 from Steven Schveighoffer <> 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.


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

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to