This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/50523] C++ FE apparently incorrectly rejects tramp3d


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50523

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
         AssignedTo|unassigned at gcc dot       |jason at gcc dot gnu.org
                   |gnu.org                     |

--- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> 2011-09-26 14:42:39 UTC ---
Reduced:

template <class T>
struct A
{
  A();
  A(const A&);
  A(const T&);
  operator T&() const;
  operator const T&() const;
};

int main()
{
  A<int> a;
  A<int> a2(a);
}


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]