Sean Baxter
Sean Baxter
In C++ they only occur as base classes, or with C++20's [[no_unique_address]] attribute, as empty data members. So it's not like the host will ever expose a 0-sized object to...
C++ generates them all the time. std::pair generates empty structs in libstdc++. The point is to allow non-GLSL frontends.
What is the precedence on those? I think `forward` may have to be a postfix operator to attach at higher precedence. It needs to work on the parameter `pair`, not...
I don't think you can use `std::forward` or any library call, as the parameter directive hides from you the true type of the parameter. You name the parameter and you...
Same reason it exists in C++, so you don't have to write the same function twice (for each forwarded parameter).
`copy` doesn't deduce anything. It's just pass-by-value.
> When there's a definite last use of a variable, it's passed as r-value as a copy argument. That's not argument deduction, that's just changing the value category of an...
>It's all about c++ and not something else. If that's the case, it would be nice to disaggregate the cpp2 features and prepare wording for them so they can actually...
This is relevant to my interests. I been blocked by this since 2019. What's the new mechanism?
I was compiling CUDA Toolkit samples without modification with a single translation pass in 2019: * https://twitter.com/seanbax/status/1122594331720847360 * https://twitter.com/seanbax/status/1125498748216512516 I ended up removing this functionality because CUDA_ARCH-based dispatch was too...