Re: C++ PATCH for c++/57728 (explicit instantiation and defaulted functions)

2016-08-30 Thread Rainer Orth
Hi Jason, > The testcase in 57728 demonstrates that we have been treating > functions explicitly defaulted in the class body inconsistently with > explicit instantiation: an extern instantiation causes them not to be > generated, but a normal explicit instantiation doesn't cause them to > be emitt

C++ PATCH for c++/57728 (explicit instantiation and defaulted functions)

2016-08-26 Thread Jason Merrill
The testcase in 57728 demonstrates that we have been treating functions explicitly defaulted in the class body inconsistently with explicit instantiation: an extern instantiation causes them not to be generated, but a normal explicit instantiation doesn't cause them to be emitted, leading to link e