On 13.03.26 17:18, Jelte Fennema-Nio wrote:
> On Fri, 13 Mar 2026 at 17:15, Jelte Fennema-Nio <postgres(at)jeltef(dot)nl> wrote:
>> Attached should fix it.
>
> Okay corrected in this v2, which fixes all of the places I could find.
This doesn't appear to work in this example program:
```
#include <type_traits>
#define mytypeof(x) std::remove_reference<decltype(x)>::value
void foo(void)
{
int a;
mytypeof(a) b;
}
```
Based on some internet search, it appears that ::type would work. But
it also appears to work without either one.