HN
Hacker News
Top
New
Best
Ask
Show
Jobs
HTML++ Write HTML in C++ Templates | Hacker News Reader
HTML++ Write HTML in C++ Templates
github.com
5 points
·
drenvuk
·
·
2 comments
Open article
Save
View on HN
wolfgang42
·
Similar effort from 2018:
https://github.com/rep-movsd/see-phit
(discussed at the time:
https://news.ycombinator.com/item?id=14896455
)
drenvuk
(original poster)
·
Eh, I think they're pretty different. The one you posted uses raw string literals. HTML++ uses string literals inside of the template declarations themselves by using a c++20 feature. I'm still not sure why this feature exists but it's fairly cool.
Reply on news.ycombinator.com