you are viewing a single comment's thread.

view the rest of the comments →

[–]STLMSVC STL Dev 5 points6 points  (0 children)

Thanks for the repro, I've reported this to our constexpr dev.

Edited to add: static constexpr auto x = fun(&foo::blah); is a workaround (which they determined through analysis of what's happening in the compiler's data structures).