On 11/03/20 10:56 +0000, Tam S. B. via Libstdc++ wrote:
IIUC using lambda in inline variable initializer is not ODR violation. This is covered in CWG 2300 ( http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p1510r0.html#2300 ).
Ah yes, I think somebody (probably Patrick) has pointed out that wording before, and I'd forgotten about it. So that would make it an unsupported G++ feature then?