Discussion:
C++ PATCH for copying volatile class with ellipsis constructor
Jason Merrill
2014-10-08 14:14:40 UTC
Permalink
Ville's test in progress for is_trivially_constructible discovered this
corner case ICE; trying to force a copy for passing to the ellipsis was
resulting in infinite recursion as we call the ellipsis ctor to call the
ellipsis ctor to ....

Fixed by short-circuiting this into a call to the actual copy constructor.

Tested x86_64-pc-linux-gnu, applying to trunk.

Loading...