Post #1979923
2026-05-04 21:14 UTC
C++ :p
The reflection facilities return an object that can only be used in constexpr contexts. It further returns a bunch of things like std::vector. Now, std::vector can be used in a constant expression but it has to stop existing by the time that expression is over. So it can only be inside consteval functions and such. Since it's always a parameter or a local variable it can't be used to create a type pack or anything. It's kinda nuts...trying to untangle it.
C++ :p
#cpp
Replies (0)
No replies.