ojrosten

Results comments of ojrosten

Thanks for clarifying that. I wonder if it would make sense for clang to issue a warning when a special member function is deleted if a user not merely defaults...

Hi Louis, Here's a minimal reproduction: https://godbolt.org/z/a9oTohd8K

@jwakely It looks like there's a similar problem with libstdc++, but it takes bit more effort to reveal it: https://godbolt.org/z/h7avPfqhz I think what's going on is as follows. Referring to...

Yeah, I had a feeling it was a regression but wasn't 100% sure. I do agree that it's hard to imagine a use case for this combination of propagation traits....

Yes, that's similar to the 'OK' code I provided. It seems that putting some extra brackets of either type around some part of this solves the problem. The thing which...

Ah, I think I know why I wasn't able to repro with a simpler case: I'd accidentally swapped in braced init: https://godbolt.org/z/zPjq3hfsP

Interesting, and in some sense even more weirdly, getting rid of the static in my example - without making any other changes - doesn't change the error message!

Better still, I can completely comment out `thing` and it still fails with the same error! It's sort of like clang is trying to interpret `s(baz::thing(as)...);` as a function call...