24 Aug
2021
24 Aug
'21
9:45 p.m.
On 8/24/21 2:28 PM, Robert Ramey via Boost wrote:
Here's a much simpler example. In this case, it doesn't look like it doesn't work on clang ever.
https://www.godbolt.org/z/c4s61fTvd
So I am not an expert, but I think it is indeed not possible to do what you want.
It's not clear to my why not. I'll dig into this some more. I think I can achieve what I need without using a function.
Thanks to everyone for their interest and help.
Robert Ramey
PS. Enhanced example which suggests (to me at least) that what I want to do is possible. at least in gcc 11 https://www.godbolt.org/z/Mn4ThdsG7