On 03/09/2016 05:09 PM, Martin Sebor wrote:
While going through constexpr bugs looking for background
on one I'm currently working on I came across bug 65579 -
[C++11] gcc requires definition of a static constexpr member
even though it is not odr-used.
The bug points out that GCC (sometimes) emits references to
static constexpr data members of class templates even when
they aren't odr-used. (A more detailed analysis of why this
happens is in my comment #1 on the bug.)
This should have been fixed up in complete_vars; why didn't it work?
Jason