Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
sankhao
7 months ago
|
parent
|
context
|
favorite
| on:
Reflection for C++26
This is doable in c++20
https://github.com/stephenberry/glaze
_flux
7 months ago
[–]
That's pretty neat! What's the C++20 feature that enables this?
gpderetta
7 months ago
|
parent
[–]
From a quick look, generalized constexpr evaluation, but in practice it relies on parsing non-portable decorated function names from things like source location. An ugly, slow, but effective hack.
Consider applying for YC's Spring batch! Applications are open till Feb 11.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: