This is the mail archive of the gcc-patches@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]

Re: C++ PATCH for c++/49107 (excessive instantiation due to noexcept)


On 06/08/2011 11:32 PM, Jason Merrill wrote:
49107 is an issue with the addition of noexcept to the standard library causing extra instantiations, to the point that code that worked before doesn't work now due to circular dependency. Someone suggested that to avoid this problem we could defer instantiation of noexcept-specifiers until they are actually needed. This patch implements that suggestion, and does in fact seem to fix the problem.
Thanks a lot Jason.

I'm trying to figure out which are the implications for the library of the comment you added to c++/48468, I think it would be now more difficult to implement consolidated is_nothrow_* traits, thus not computing first via sfinae the corresponding is_* trait. But doesn't seem a serious limitation...

Thanks again,
Paolo.


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