https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72745
Jonathan Wakely changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72745
--- Comment #2 from Jonathan Wakely ---
Author: redi
Date: Sun Jul 31 17:08:52 2016
New Revision: 238924
URL: https://gcc.gnu.org/viewcvs?rev=238924&root=gcc&view=rev
Log:
libstdc++/72745 add static assertion for invalid tuple access
PR
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72745
--- Comment #1 from Jonathan Wakely ---
This is harder than you think, because the incomplete type error happens in the
return type, so the function body is never instantiated and adding a static
assertion there doesn't help.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72745
Jonathan Wakely changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|