Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
sankhao
· 2y ago · 0 comments
This is doable in c++20
https://github.com/stephenberry/glaze
Comments
[–]
_flux
2y ago
That's pretty neat! What's the C++20 feature that enables this?
[–]
gpderetta
2y ago
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.