Re:Fun with C++26 reflection: Keyword Arguments
by logicchains on Tuesday February 11, 2025 @12:49AM
(#43009405)
>Isn't the reason why so many other languages have reflection due to the fact that they essentially have the information there from the get-go?
C++26 reflection is compile-time reflection, not runtime reflectiom, it doesn't require any extra information in the binary. It just uses information that the compiler already has at compilation time.
C++26 reflection is compile-time reflection, not runtime reflectiom, it doesn't require any extra information in the binary. It just uses information that the compiler already has at compilation time.